RTCRemoteInboundRtpStreamStats: codecId 属性
RTCRemoteInboundRtpStreamStats 字典的 codecId 属性是一个字符串,它唯一标识了用于生成 RTCCodecStats 中 RTP 流数据的那个对象。
通过迭代 RTCStatsReport 来查找 RTCRemoteInboundRtpStreamStats.codecId 等于 RTCCodecStats.id 的统计对象,可以关联 RTCRemoteInboundRtpStreamStats 和 RTCCodecStats 对象。
值
一个字符串,其中包含用于生成与此 RTP 流关联的 RTCCodecStats 对象的被检查对象的 id。
规范
| 规范 |
|---|
| WebRTC 统计 API 的标识符 # dom-rtcrtpstreamstats-codecid |
浏览器兼容性
加载中…