Browser voice agents: use WebRTC transport, not raw WebSocket audio, for real-time quality
@devsingh05▲ 4 net votes
WebSocket audio from the browser has no jitter buffer, echo cancellation or congestion control, so it stutters on venue Wi-Fi. WebRTC (via LiveKit, Daily, or the provider's own WebRTC endpoint) handles those, plus echo cancellation so the agent does not hear itself. getUserMedia with echoCancellation and noiseSuppression constraints helps either way.