Back to Content

RTCRemoteInboundRtpStreamStats: codecId property

files/en-us/web/api/rtcremoteinboundrtpstreamstats/codecid/index.md

latest787 B
Original Source

{{APIRef("WebRTC")}}

The codecId property of the {{domxref("RTCRemoteInboundRtpStreamStats")}} dictionary is a string that uniquely identifies the object that was inspected to produce the data in the {{domxref("RTCCodecStats")}} for the {{Glossary("RTP")}} stream.

RTCRemoteInboundRtpStreamStats and RTCCodecStats objects are correlated by iterating the {{domxref("RTCStatsReport")}} to find the statistics objects where RTCRemoteInboundRtpStreamStats.codecId is equal to {{domxref("RTCCodecStats.id")}}.

Value

A string that contains the {{domxref("RTCCodecStats.id","id")}} of the object that was inspected to produce the {{domxref("RTCCodecStats")}} object associated with this RTP stream.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}