RTCStats

The RTCStats dictionary is the basic statistics object used by WebRTC's statistics monitoring model, providing the properties required of all statistics data objects. Specific classes of statistic are defined as dictionaries based on RTCStats. For example, statistics about a received RTP stream are represented by RTCReceivedRtpStreamStats.

Properties

id
A DOMString which uniquely identifies the object which was inspected to produce this object based on RTCStats.
timestamp
A DOMHighResTimeStamp object indicating the time at which the sample was taken for this statistics object.
type
A DOMString indicating the type of statistics the object contains, taken from the enum type RTCStatsType.

Specifications

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

Browser compatibility

No compatibility data found. Please contribute data for "api.RTCStats" (depth: 1) to the MDN compatibility data repository.

Document Tags and Contributors

Contributors to this page: Sheppy
Last updated by: Sheppy,