Skip to main content
Audio is sent and received through a single synchronous call:

Input requirements

Real-time pacing

This is a live stream. Feed approximately one frame every 20 ms, as you would from a live microphone. Sending much faster than real time can overrun server-side buffers. In a live call scenario the microphone callback provides natural pacing; when replaying a file (as in the Quick Start), add a 20 ms sleep between frames.

PCM conversion