RTCRemoteInboundRtpStreamStats: totalRoundTripTime 属性
RTCRemoteInboundRtpStreamStats 字典的 totalRoundTripTime 属性表示自会话开始以来,所有往返时间 (RTT) 测量的累计总和(以秒为单位)。
单个往返时间是根据 RTCP 接收者报告 (RR) 中的 RTCP 时间戳计算的,因此需要一个非 0 的 DLSR 值。平均 RTT 可以通过将 totalRoundTripTime 除以 roundTripTimeMeasurements 来计算。
值
一个指示会话往返时间总和的数字,以秒为单位。
规范
| 规范 |
|---|
| WebRTC 统计 API 的标识符 # dom-rtcremoteinboundrtpstreamstats-totalroundtriptime |
浏览器兼容性
加载中…