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 .

特性

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

The statistics type hierarchy

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 RTCStats dictionary, each layer adding more relevant information.

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCStats' in that specification.
候选推荐 最初的规范。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.

No compatibility data found. Please contribute data for "api.RTCStats" (depth: 1) to the MDN 兼容性数据存储库 .

元数据

  • 最后修改: