Error Triage Hub (9)
LiveKit Element Call & Coturn TURN Relay Drops Behind NAT
Element Call and 1:1 VoIP fail behind corporate firewalls when Coturn lacks TLS port 443 relay or UDP media ports 49152-65535 are blocked.
Call Drop Rate: 35-70% behind symmetric NAT without TLS 443 TURN
Why UDP-Only Coturn Fails Corporate and Mobile Carrier NATs
MatrixRTC and legacy WebRTC calls attempt direct UDP hole-punching first, then fall back to Coturn over UDP 3478. Restrictive enterprise Wi-Fi and carrier-grade NAT firewalls block non-443 UDP traffic, stalling ICE state at checking until the call drops.
Validating TURN Credentials and LiveKit JWT Auth
Test relay reachability with trickle-ice or turnutils_uclient against turns:turn.example.com:443?transport=tcp. Ensure lk-jwt-service shares matching keys with your LiveKit SFU and well-known MatrixRTC discovery JSON.
Measured Thresholds & Configuration
| TURN / SFU Configuration | Corporate NAT Success | CPU / Bandwidth Profile |
|---|---|---|
| No TURN (STUN only) | 30 - 55% (drops on symmetric NAT) | Minimal |
| Coturn UDP 3478 Only | 68 - 80% | Low (1 vCPU handles 25 calls) |
| Coturn TLS 443 + LiveKit SFU | 97 - 99.5% | 2-3 vCPU High-Clock recommended |