RTCInboundRtpStreamStats: codecId property

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

RTCInboundRtpStreamStats and RTCCodecStats objects are correlated by iterating the RTCStatsReport to find the statistics objects where RTCInboundRtpStreamStats.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