RTCIceCandidateStats: transportId property

Baseline Widely available

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

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

This can be used, for example, to compare candidates that use the same transport.

Value

A string whose value uniquely identifies the transport from which any transport-related information accumulated in the RTCIceCandidateStats was taken.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatestats-transportid

Browser compatibility