Ambient/Form filling Wire Format
Outbound
GET /ws/stream messages: START_TIME, AUDIO with data, EVENT, and the RU9G end marker. Form filling uses the same Ambient wire format on this socket.Dictation Wire Format
Outbound
GET /ws/transcribe messages: AUDIO with audioData, then EVENT with AUDIO_END. No START_TIME and no RU9G.To learn about what’s common and different between Ambient/Form filling and Dictation streaming architecture, refer to Streaming architecture for more information.
Related topics
Stream Ambient Audio
How Ambient streaming works, JSON text rules, and when to use
/ws/stream.Stream Dictation Audio
How Dictation streaming works, prerequisites, and when to use
/ws/transcribe.Audio Capture Best Practices
Capture format, environment, gain, and network readiness before you stream.
Dictation Transcript Frames
Inbound partial and final transcript frames for
/ws/transcribe.Complete the Session
Close the socket, end with REST, and troubleshoot common errors.
Next steps
Open Ambient streaming wire format for/ws/stream message shapes and chunking.
Open Dictation streaming wire format for /ws/transcribe message shapes and chunking.
Follow Complete the session after streaming to close the socket, end the session, and troubleshoot errors.