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