SIP & WebRTC Latency
ElevenLabs WebSocket Keepalive & Connection Pooling
Saving 90-140 ms on the opening greeting by overlapping SIP RINGING with TLS WebSocket setup.
75 ms warm TTFB · saves 110 ms TLS handshake
Speculative Handshake During SIP 180 Ringing
Opening a fresh TLS 1.3 WebSocket to ElevenLabs only after the caller finishes speaking wastes 90-140 ms on TCP+TLS negotiation. Opening the WebSocket when SIP INVITE arrives eliminates handshake tax on Turn 1.
Keepalive Space-Flush Guard
Idle WebSockets close after 20 seconds of inactivity. Sending lightweight keepalive frames during silent hold states keeps Flash v2.5 warm until the next conversational turn.
Measured Pipeline Thresholds
| Cold Per-Turn WebSocket | 185-220 ms TTFB | Pays TCP+TLS handshake every turn |
| Pre-Warmed Call WebSocket | 75 ms TTFB | Zero handshake tax across entire call |
| Audio Format pcm_16000 | 0 ms decode tax | Streams directly to LiveKit audio track |