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

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

MDN Reference

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>;
}

Hierarchy

  • ReadonlyMap<string, any>
    • RTCStatsReport
Index
size: number
  • Returns an iterable of entries in the map.

    Returns MapIterator<[string, any]>

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

    Returns MapIterator<[string, any]>

  • Parameters

    • callbackfn: (value: any, key: string, parent: RTCStatsReport) => void
    • OptionalthisArg: any

    Returns void

  • Parameters

    • key: string

    Returns any

  • Parameters

    • key: string

    Returns boolean

Was this helpful?