RTCRemoteInboundRtpStreamStats: codecId property

The codecId property of the RTCRemoteInboundRtpStreamStats dictionary is a string that uniquely identifies the object that was inspected to produce the data in the RTCCodecStats for the RTP stream.

RTCRemoteInboundRtpStreamStats and RTCCodecStats objects are correlated by iterating the RTCStatsReport to find the statistics objects where RTCRemoteInboundRtpStreamStats.codecId is equal to RTCCodecStats.id.

Value

A string that contains the id of the object that was inspected to produce the RTCCodecStats object associated with this RTP stream.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcrtpstreamstats-codecid

Browser compatibility

BCD tables only load in the browser