RTCRemoteOutboundRtpStreamStats: codecId 属性

Baseline 已广泛支持

此特性已经十分成熟,可在许多设备和浏览器版本上使用。自 2022 年 3 月起,它已在各浏览器中可用。

codecId 属性是 RTCRemoteOutboundRtpStreamStats 字典的一个字符串属性,它唯一标识了用于生成 RTCCodecStats 中有关 RTP 流的数据的检查对象。

RTCRemoteOutboundRtpStreamStatsRTCCodecStats 对象通过迭代 RTCStatsReport 来关联,以查找 RTCRemoteOutboundRtpStreamStats.codecId 等于 RTCCodecStats.id 的统计对象。

一个字符串,其中包含用于生成与此 RTP 流关联的 RTCCodecStats 对象的被检查对象的 id

规范

规范
WebRTC 统计 API 的标识符
# dom-rtcrtpstreamstats-codecid

浏览器兼容性