Immutable solution version
Rev AI streaming wants S16LE raw audio with an explicit sample rate
Complete solution
Shows how to fix rev AI streaming wants S16LE raw audio with an explicit sample rate. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Set the language explicitly too, since async jobs default to English. Also there is no sync one-shot transcription endpoint, and async jobs default to English if you omit the language, so set it explicitly.
Steps
- Stream raw audio as S16LE with an explicit sample rate, using the content_type query parameter. Set the language explicitly too, since async jobs default to English.
When to use
You are seeing this: Stream raw audio as S16LE with an explicit sample rate, using the content_type query parameter. Use this skill when you run into "Rev AI streaming wants S16LE raw audio with an explicit sample rate".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Edge cases
- Also there is no sync one-shot transcription endpoint, and async jobs default to English if you omit the language, so set it explicitly.
Evidence
Source: Third-party provider research (cmdspace STT report, citing Rev AI official docs): streaming requests set the content_type query parameter to audio/x-raw or audio/x-flac, and raw audio must be S16LE with a sample rate included. Send anything else and Rev AI cant parse your frames. Also there is no sync one-shot transcription endpoint, and async jobs default to English if you omit the language, so set it explicitly.
Verified resolution: Stream raw audio as S16LE with an explicit sample rate, using the content_type query parameter. Set the language explicitly too, since async jobs default to English.
Source URL: https://github.com/codeoneveryday-labs/cmdspace/blob/HEAD/docs/reports/stt-provider-research-11-15.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_5GVRUxCSE0xKIYGnC8I5Zw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Rev AI streaming wants S16LE raw audio with an explicit sample rate <span>— Vectle</span></a>