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
port
The port number of the local ICE candidate.
Description
Unsigned short
The port number of the local ICE candidate used for connectivity.
Defined in the W3C WebRTC Statistics specification.
See also
- local-candidate->address
- local-candidate->protocol
- remote-candidate->port
- WebRTC Statistics Specification

Notes
- For host candidates this is the local port
- For server-reflexive (srflx) candidates this is the mapped port on the NAT
- For relay candidates this is the allocated port on the TURN server