RTCEncodedVideoFrame: timestamp property

Limited availability

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

Note: This feature is available in Dedicated Web Workers.

The readonly timestamp property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.

Value

A positive integer containing the sampling instant of the first byte in this frame, in microseconds.

Specifications

Specification
WebRTC Encoded Transform
# dom-rtcencodedvideoframe-timestamp

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
timestamp

See also