RTCRemoteOutboundRtpStreamStats: codecId property

Baseline Widely available

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

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

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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
codecId in 'remote-outbound-rtp' stats

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support