| Use case | Format |
|---|---|
| Download, storage or ordinary playback | MP3 |
| Custom decoding, audio processing or real-time audio pipelines | PCM |
| Telephone line | Use 8 kHz PCM or μ-law, depending on the line. |
format=mp3_44100_128.format=mp3_128.format listed for that endpoint.mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100 and ulaw_8000. See the endpoint’s format field for all values and model restrictions.direct parameter controls framing. The default includes a WAV header. Use direct=1 for raw PCM. Changing the file extension to MP3 does not encode the audio.audio is usually Base64. Decode it and assemble the chunks in order for each task. Process binary frames according to the endpoint protocol.