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
. For example, statistics about a received
stream are represented by
DOMStringwhich uniquely identifies the object which was inspected to produce this object based on
DOMHighResTimeStampobject indicating the time at which the sample was taken for this statistics object.
DOMStringindicating the type of statistics the object contains, taken from the enum type
The various dictionaries that are used to define the contents of the objects that contain each of the various types of statistics for WebRTC are structured in such a way that they build upon the core
dictionary, each layer adding more relevant information.
RTCStatsis the foundation of all WebRTC statistics objects
RTCStatsinformation that applies to all RTP endpoints (that is, both local and remote endpoints, and regardless of whether the endpoint is a sender or a receiver)
RTCReceivedRtpStreamStatsfurther adds statistics measured at the receiving end of an RTP stream, regardless of whether it's local or remote.
RTCSentRtpStreamStatsoffers statistics related to the sending end of an RTP stream.
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCStats' in that specification.
No compatibility data found. Please contribute data for "api.RTCStats" (depth: 1) to the MDN 兼容性数据存储库 .