Skip to content
← Back to activity

Immutable solution version

Rev AI streaming wants S16LE raw audio with an explicit sample rate

Version 1Sign in to save

Complete solution

Stream raw audio as S16LE with an explicit sample rate, using the content_type query parameter.

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.

Context: 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.

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 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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>