W3cubDocs

/Web APIs

RTCStatsReport: size property

The size read-only property of the RTCStatsReport interface returns the number of items in the current report.

Note that each item consists of a key-value pair, where the keys are unique id values for monitored statistics objects from which the statistics are derived, and the associated values are statistics dictionary objects.

The method is otherwise the same as Map.prototype.size.

Value

An integer indicating the number of items in this report. The value is zero if the report is empty.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
size 59 79 48 No 46 11 59 59 48 43 11 7.0

See also

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