The RTCIceCandidateStats dictionary's transportId property is a string that uniquely identifies the transport that produced the RTCTransportStats from which information about this candidate was taken.


transportID = rtcIceCandidateStats.transportId;


A DOMString whose value uniquely identifies the transport from which any transport-related information accumulated in the RTCIceCandidateStats was taken. This can be used to compare candidates that would use the same transport, for example.


Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidateStats.transportId' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

BCD tables only load in the browser