RTCCodecStats: transportId property

The transportId property of the RTCCodecStats dictionary is a string that contains the unique identifier of the corresponding transport on which this codec is being used.

You can correlate the codec and associated transport statistics by matching the RTCCodecStats.transportId with an RTCTransportStats.id value.


A string that uniquely identifies a matching RTCTransportStats object using its id.


Identifiers for WebRTC's Statistics API
# dom-rtccodecstats-transportid

Browser compatibility

BCD tables only load in the browser