WebSocket media protocol
API Reference
WebSocket media protocol
Stream live call audio with 16 kHz Float32LE PCM frames.
GET
WebSocket media protocol
Upgrade this endpoint to a WebSocket with the same bearer token used for REST calls.
Client binary frames are outbound peer audio:
Server binary frames are inbound peer audio with the same format.
Backpressure:
Slow or pause your producer when
Errors:
Raw audio is only carried by this WebSocket. SSE and webhooks carry metadata events only.
| Field | Value |
|---|---|
| Encoding | Float32LE |
| Sample rate | 16000 Hz |
| Channels | 1 mono |
Server text frames
bufferedMs reaches pauseMs; resume when it drains near resumeMs.
Call state: