Skip to content

AudioFormat = "opus" | { pcm: { channels: 1 | 2; sampleRate: 8000 | 12000 | 16000 | 24000 | 48000; }; }

Defined in: sdk/js/src/audio.ts:14

'opus' packets the bot encodes, or 16-bit PCM the host encodes (needs an Opus encoder).