此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

RTCRemoteOutboundRtpStreamStats:remoteTimestamp 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

RTCRemoteOutboundRtpStreamStats 接口的 remoteTimestamp 属性返回表示远程对等端发送这些统计信息的时间的时间戳。这与 timestamp 不同,后者表示本地生成或接收统计信息的时间。

表示远程对等端发送这些统计信息时的时间戳的 DOMHighResTimeStamp。这与 timestamp 的值不同,后者给出的是本地对等端生成或接收统计信息的时间。

如果该属性存在,则其来源于 RTCP 发送方报告(SR)块,反映了消息发送时远程对等端的时钟。需要注意的是,这意味着该时钟可能未与本地时钟同步,并且当前时间以及时钟的运行速率在一定程度上可能存在差异。

规范

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcremoteoutboundrtpstreamstats-remotetimestamp

浏览器兼容性