WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived calculations, extracted features, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
On this page3 sections
transporttransportICEconnectivity
selectedCandidatePairId
Last updated Applies toany rtcStats setup
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.
See also
- candidate-pair->availableOutgoingBitrate
- candidate-pair->currentRoundTripTime(ms)
- WebRTC Statistics Specification

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