RTCVideoSourceStats: timestamp property
Baseline 2023Newly available
Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The timestamp
property of the RTCVideoSourceStats
dictionary is a DOMHighResTimeStamp
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 as Unix time).
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 |