The read-only rtpTimestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the source-generated time at which the media contained int he packet was first sampled or obtained.


let rtpTimestamp = RTCRtpContributingSource.rtpTimestamp


An integer value specifiying a source-generated timestamp indicating the time at which the media in this packet, scheduled for play out at the time indicated by timestamp, was initially sampled or generated. This value may be useful for sequencing and synchronization purposes.


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

Browser compatibility

No compatibility data found for api.RTCRtpContributingSource.rtpTimestamp.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.