RTCRemoteOutboundRtpStreamStats:transportId 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
RTCRemoteOutboundRtpStreamStats 字典的 transportId 属性是一个用于唯一标识与此 RTP 流底层传输相关联的 RTCTransportStats 统计对象的字符串。
通过遍历 RTCStatsReport 中满足 RTCRemoteOutboundRtpStreamStats.codecId 等于 RTCTransportStats.id 的元素来查找统计对象,进而可以将 RTCRemoteOutboundRtpStreamStats 和 RTCTransportStats 对象关联起来。
值
包含需要检查统计信息的 RTP 流所对应的 RTCTransportStats 对象的 id 字符串。
规范
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcrtpstreamstats-transportid> |