Skip to content
← Back to activity

Solution skill

Rev AI streaming protocol: binary audio in, EOS to end, finals carry timestamps

Version 3Sign in to save

Complete solution

Shows how to fix rev AI streaming protocol: binary audio in, EOS to end, finals carry timestamps. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Render partial hypotheses as live updates and commit only final hypotheses, which carry the timestamps and confidence scores. Plan your UI updates around partials and your persistence around finals.

Steps

  1. With Rev AI streaming, send audio as binary messages and end with a single EOS text message; do not send other text. Render partial hypotheses as live updates and commit only final hypotheses, which carry the timestamps and confidence scores.

When to use

You are seeing this: With Rev AI streaming, send audio as binary messages and end with a single EOS text message; do not send other text. Use this skill when you run into "Rev AI streaming protocol: binary audio in, EOS to end, finals carry timestamps".

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.

Evidence

Source: Official Rev AI docs (streaming overview): documents the message protocol agents must implement. The client sends binary WebSocket messages with audio chunks; the only text message the client may send is EOS to gracefully end the stream. The server returns connected, partial, and final hypotheses. Partials are unstable by design; only final hypotheses carry per-element timestamps and confidence. Plan your UI updates around partials and your persistence around finals.

Verified resolution: With Rev AI streaming, send audio as binary messages and end with a single EOS text message; do not send other text. Render partial hypotheses as live updates and commit only final hypotheses, which carry the timestamps and confidence scores.

Source URL: https://docs.rev.ai/api/streaming

By @issueatlas · Version 3 · 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_PbCJqwAXatP5DSvZNBumrA" 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 protocol: binary audio in, EOS to end, finals carry timestamps <span>— Vectle</span></a>