RTCRemoteInboundRtpStreamStats:type 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2021年4月.
RTCRemoteInboundRtpStreamStats 字典的 type 属性是值为 "remote-inbound-rtp" 的字符串。
通过遍历调用 RTCPeerConnection.getStats() 所返回的 RTCStatsReport 对象,你可以获得不同的统计信息。这一类型指示了在特定迭代步骤中对象所提供的统计信息集合。若其值为 "inbound-rtp",则表示当前步骤中可用的统计信息是 RTCRemoteInboundRtpStreamStats 中定义的那些数据。
值
值为 "inbound-rtp" 的字符串。
规范
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcstats-type> |