RTCVideoSourceStats: 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 May 2023.
Thetimestamp property of theRTCVideoSourceStats dictionary is aDOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
The time is given in milliseconds elapsed since the first moment of January 1, 1970, UTC (also known asUnix time).
In this article
Value
ADOMHighResTimeStamp 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 offingerprinting protection in the form of reduced clock precision or accuracy.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcstats-timestamp> |