RTCRtpContributingSource.timestamp
The read-only timestamp
property of the RTCRtpContributingSource
dictionary contains a DOMHighResTimeStamp
indicating the most recent time of playout of an RTP packet from the source.
Syntax
var domHighResTimeStamp = RTCRtpContributingSource.timestamp
Value
A DOMHighResTimeStamp
which indicates the time at which the most recent RTP packet from the corresponding source was played out.
Specifications
Specification |
---|
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0) # dom-rtcrtpcontributingsource-timestamp |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
timestamp |
59 |
≤79 |
59
Starting in version 60, the
timestamp is correctly computed based on the window's Performance time, rather than Date.getTime() . |
No |
No |
12.1 |
59 |
59 |
59
Starting in version 60, the
timestamp is correctly computed based on the window's Performance time, rather than Date.getTime() . |
No |
12.2 |
7.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpContributingSource/timestamp