Attendee supports bidirectional realtime audio streaming through websockets. You can receive audio from meetings and have your bot output audio into meetings in real-time.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/attendee-labs/attendee/llms.txt
Use this file to discover all available pages before exploring further.
Setup
To enable realtime audio streaming, configure thewebsocket_settings.audio parameter when creating a bot:
The
sample_rate can be 8000, 16000, or 24000 and defaults to 16000. It determines the sample rate of the audio chunks you receive from Attendee.Websocket Message Format
Outgoing Audio (Attendee → Your Websocket Server)
Your WebSocket server will receive messages in this format.chunk field is base64-encoded 16-bit single channel PCM audio data at the frequency specified in the sample_rate field.
Incoming Audio (Your Websocket Server → Attendee)
When you want the bot to speak audio in the meeting, send a message in this format.chunk field is base64-encoded 16-bit single-channel PCM audio data. The sample rate can be 8000, 16000 or 24000.
Integration with Voice Agent APIs
The realtime audio streaming can be easily integrated with voice agent APIs to bring voice agents into meetings.- Deepgram Voice Agent API
- OpenAI Realtime API
Connect directly to Deepgram’s voice agent WebSocket API by forwarding audio chunks. Set an output sample rate of
16000 to be compatible with Deepgram’s real-time streaming requirements.See an example app showing how to integrate with Deepgram’s voice agent API here.