Audio Formats

Audio payloads are Base64-encoded raw audio in the negotiated format.

The format is defined by the sending or listening message and may differ between directions. The API allows up to 30 MB of queued outbound audio at any time.

Codec Sending Listening Description
pcm_800016-bit PCM, 8 kHz, mono
pcm_1600016-bit PCM, 16 kHz, mono
pcm_2400016-bit PCM, 24 kHz, mono
alawG.711 A-law, 8 kHz
ulawG.711 µ-law, 8 kHz
g722G.722, 16 kHz
oggOpus in Ogg container
wavWAV container
mp3MP3