RTCStats.type

The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType.

The string can be used to determine which of the RTCStats-based dictionaries are the foundation of the statistics object.

Syntax

var type = RTCStats.type;

Value

A DOMString which specifies which type of statistic is represented by the object. The string comes from the RTCStatsType enum and corrsponds to one of the RTCStats-based statistic object types.

Specifications

No specification found

No specification data found for api.RTCStats.type.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

No compatibility data found for api.RTCStats.type.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCStats/type