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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
localCandidateId
No
No
29
No
?
11
No
No
29
?
11
No

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidatePairStats/localCandidateId