WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
local-candidateICEcandidatelocalnetwork
protocol
The transport protocol used by this ICE candidate.
Description
String enum (udp, tcp)
The transport protocol used by the ICE candidate. WebRTC strongly prefers UDP for media transport due to lower latency and no head-of-line blocking.
Defined in the W3C WebRTC Statistics specification.
See also
- local-candidate->address
- local-candidate->candidateType
- remote-candidate->protocol
- WebRTC Statistics Specification

Notes
- UDP is the preferred protocol for real-time media
- TCP candidates are used as a fallback when UDP is blocked by firewalls
- TURN over TCP (and TURN over TLS on port 443) provides the highest firewall traversal success rate but at the cost of added latency