RTCRtpContributingSource.timestamp

The read-only timestamp property of the RTCRtpContributingSource interface returns 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 Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'timestamp' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
timestampChrome Full support 59Edge Full support ≤79Firefox Full support 59
Notes Disabled
Full support 59
Notes Disabled
Notes Starting in version 60, the timestamp is correctly computed based on the window's Performance time, rather than Date.getTime().
Disabled From version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE No support NoOpera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Firefox Android Full support 59
Notes Disabled
Full support 59
Notes Disabled
Notes Starting in version 60, the timestamp is correctly computed based on the window's Performance time, rather than Date.getTime().
Disabled From version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
See implementation notes.
See implementation notes.
User must explicitly enable this feature.
User must explicitly enable this feature.