RTCIceCandidateStats.localCandidateId

The RTCIceCandidatePairStats property localCandidateId 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.

Syntax

localCandidateId = rtcIceCandidatePairStats.localCandidateId;

Value

A DOMString 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 (WebRTC Statistics)
# dom-rtcicecandidatepairstats-localcandidateid

Browser compatibility

BCD tables only load in the browser