RTCCodecStats: timestamp property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The timestamp property of the RTCCodecStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.

Value

A DOMHighResTimeStamp value indicating the time at which the activity described by the statistics in this object was recorded, in milliseconds elapsed since the beginning of January 1, 1970, UTC.

The value should be accurate to within a few milliseconds but may not be entirely precise, either because of hardware or operating system limitations or because of fingerprinting protection in the form of reduced clock precision or accuracy.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcstats-timestamp

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
timestamp in 'codec' stats

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support