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
candidateType
The type of ICE candidate (host, srflx, prflx, or relay).
Description
String enum (host, srflx, prflx, relay)
The type of ICE candidate, indicating how the address was obtained. "host" is a local interface address. "srflx" (server-reflexive) is the public address from a STUN server. "prflx" (peer-reflexive) is discovered during connectivity checks. "relay" is an address allocated on a TURN server.
Defined in the W3C WebRTC Statistics specification.
See also
- local-candidate->address
- local-candidate->priority
- remote-candidate->candidateType
- WebRTC Statistics Specification

Notes
- "host" candidates provide the lowest latency (direct connection)
- "srflx" candidates work through most NATs
- "relay" candidates always work but add latency as media is relayed through the TURN server
- The candidate type of the active pair reveals the network topology - if both sides are "relay", all media flows through TURN servers