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
transporttransportICEconnectivity

selectedCandidatePairId

The ID of the candidate pair currently selected for this transport.

Description

String

The unique identifier of the RTCIceCandidatePair that is currently being used to send and receive data on this transport. This links the transport to its active network path, allowing you to look up detailed statistics about the candidate pair in use.

Notes

  • The selected candidate pair can change during a session (ICE restart or better path found)
  • Monitoring changes to this value helps detect network path switches mid-call