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.


var domHighResTimeStamp = RTCRtpContributingSource.timestamp


DOMHighResTimeStamp which indicates the time at which the most recent RTP packet from the corresponding source was played out.


Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'timestamp' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support59 ?591 No No ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5959 ?591 No ? ?

1. 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.

Document Tags and Contributors

 Contributors to this page: fscholz, Sheppy, jpmedley
 Last updated by: fscholz,