# AudioFormat

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

Defined in: [sdk/js/src/audio.ts:14](https://github.com/zaunchat/zaun-bot/blob/main/sdk/js/src/audio.ts#L14)

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