Skip to main content

RTCStatsReport

The RTCStatsReport interface of the WebRTC API provides a statistics report for a RTCPeerConnection, RTCRtpSender, or RTCRtpReceiver.

MDN Reference

Extends

  • ReadonlyMap<string, any>

Methods

[iterator]()

iterator: MapIterator<[string, any]>;

Returns an iterable of entries in the map.

Returns

MapIterator<[string, any]>


entries()

entries(): MapIterator<[string, any]>;

Returns an iterable of key, value pairs for every entry in the map.

Returns

MapIterator<[string, any]>


forEach()

forEach(callbackfn, thisArg?): void;

Parameters

ParameterType
callbackfn(value, key, parent) => void
thisArg?any

Returns

void


get()

get(key): any;

Parameters

ParameterType
keystring

Returns

any


has()

has(key): boolean;

Parameters

ParameterType
keystring

Returns

boolean


keys()

keys(): MapIterator<string>;

Returns an iterable of keys in the map

Returns

MapIterator<string>


values()

values(): MapIterator<any>;

Returns an iterable of values in the map

Returns

MapIterator<any>

Properties

size

readonly size: number;