Skip to main content
VoiceAgentTCO
VoiceAgentTCO Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Disclosure).
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

ElevenLabs WebSocket Keepalive & Connection Pooling
Telemetry baseline verified on 2026-10-26 by SipLatency Voice Systems.
STEP 01

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.

STEP 02

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.

STEP 03 // MEASURED BENCHMARKS

Measured Pipeline Thresholds

Cold Per-Turn WebSocket185-220 ms TTFBPays TCP+TLS handshake every turn
Pre-Warmed Call WebSocket75 ms TTFBZero handshake tax across entire call
Audio Format pcm_160000 ms decode taxStreams directly to LiveKit audio track
75 ms warm TTFB · saves 110 ms TLS handshake Launch Flash v2.5