For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages
are available by appending .md to any URL.
Interface RTCStatsReport
interface RTCStatsReport {
size: number;
"[iterator]"(): MapIterator<[string, any]>;
entries(): MapIterator<[string, any]>;
forEach(
callbackfn: (value: any, key: string, parent: RTCStatsReport) => void,
thisArg?: any,
): void;
get(key: string): any;
has(key: string): boolean;
keys(): MapIterator<string>;
values(): MapIterator<any>;
}
size: number;
"[iterator]"(): MapIterator<[string, any]>;
entries(): MapIterator<[string, any]>;
forEach(
callbackfn: (value: any, key: string, parent: RTCStatsReport) => void,
thisArg?: any,
): void;
get(key: string): any;
has(key: string): boolean;
keys(): MapIterator<string>;
values(): MapIterator<any>;
}
Hierarchy
- ReadonlyMap<string, any>
- RTCStatsReport
Methods
[iterator]
-
Returns an iterable of entries in the map.
Returns MapIterator<[string, any]>
entries
-
Returns an iterable of key, value pairs for every entry in the map.
Returns MapIterator<[string, any]>
forEach
-
forEach(
callbackfn: (value: any, key: string, parent: RTCStatsReport) => void,
thisArg?: any,
): voidParameters
- callbackfn: (value: any, key: string, parent: RTCStatsReport) => void
OptionalthisArg: any
Returns void
get
-
Parameters
- key: string
Returns any
has
-
Parameters
- key: string
Returns boolean
keys
-
Returns an iterable of keys in the map
Returns MapIterator<string>
values
-
Returns an iterable of values in the map
Returns MapIterator<any>
The
RTCStatsReportinterface of the WebRTC API provides a statistics report for a RTCPeerConnection, RTCRtpSender, or RTCRtpReceiver.MDN Reference