RTCRemoteInboundRtpStreamStats:codecId 属性
>RTCRemoteInboundRtpStreamStats 字典的 codecId 属性是一个用于唯一标识需要获取统计数据的 RTP 流所对应的 RTCCodecStats 对象的字符串。
通过遍历 RTCStatsReport 中满足 RTCRemoteInboundRtpStreamStats.codecId 与 RTCCodecStats.id 相等的元素,进而将 RTCRemoteInboundRtpStreamStats 和 RTCCodecStats 对象关联起来。
值
包含需要检查统计信息的 RTP 流所对应的 RTCCodecStats 对象的 id 字符串。
规范
| 规范 |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcrtpstreamstats-codecid> |