WebRTC Metrics

A comprehensive overview of WebRTC statistics, derived calculations, and extracted features, to better understand call quality, connectivity, and user experience in rtcStats

Back
On this page3 sections
ICEcandidatelocalnetwork

local-candidate.port

Last updated Applies toany rtcStats setup

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

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

Was this page helpful?