RTCForge API Reference v1.1.1
    Preparing search index...

    Interface CallStatsProvider

    Exposes WebRTC statistics for a call.

    interface CallStatsProvider {
        getStats(peerId?: string): Promise<Map<string, RTCStatsReport>>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Methods

    • Resolves with RTCStatsReports keyed by peer id.

      Parameters

      • OptionalpeerId: string

        Restrict the report to a single peer; omit for all peers.

      Returns Promise<Map<string, RTCStatsReport>>