RTCIceCandidateStats: localCandidateId property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The localCandidateId property of the RTCIceCandidatePairStats dictionary is a string that uniquely identifies the local ICE candidate which was analyzed to generate the RTCIceCandidateStats used to compute the statistics for this pair of candidates.

Value

A string giving a unique identifier for the local RTCIceCandidate for the connection described by this RTCIceCandidatePairStats object.

This candidate is the source of one of the two RTCIceCandidateStats objects that were used to compute the contents of this RTCIceCandidatePairStats object.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatepairstats-localcandidateid

Browser compatibility

BCD tables only load in the browser