/** * Media quality statistics for audio or video streams. * * Contains network quality metrics including RTT, jitter, and packet loss. */ export declare class MediaQualityStats { /** * Median RTT in milliseconds calculated via RTP/RTCP, or undefined if unavailable. */ readonly rttMedianMillis: number | undefined; /** * Median jitter for sent packets as reported by remote peer in milliseconds, * or undefined if unavailable. */ readonly jitterMedianSendMillis: number | undefined; /** * Median jitter for received packets in milliseconds, or undefined if unavailable. */ readonly jitterMedianRecvMillis: number | undefined; /** * Packet loss fraction for sent packets as reported by remote peer, * or undefined if unavailable. */ readonly packetLossFractionSend: number | undefined; /** * Packet loss fraction for received packets, or undefined if unavailable. */ readonly packetLossFractionRecv: number | undefined; } /** * Overall call quality statistics. * * Contains connection-level metrics and separate audio/video quality stats. */ export declare class QualityStats { /** * Median connection RTT in milliseconds calculated via STUN/ICE, * or undefined if unavailable. */ readonly rttMedianConnectionMillis: number | undefined; /** Audio quality statistics. */ readonly audioStats: MediaQualityStats; /** Video quality statistics. */ readonly videoStats: MediaQualityStats; } /** * Summary of call telemetry data providing a synopsis of call quality. * * Statistics are captured when the call ends and are available for reporting. */ export declare class CallSummary { /** * SHA-256 Hash of a CallId */ readonly callIdHash: Uint8Array | undefined; /** * Call start timestamp in milliseconds since January 1, 1970 00:00:00 UTC. */ readonly startTime: number; /** * Call end timestamp in milliseconds since January 1, 1970 00:00:00 UTC. */ readonly endTime: number; /** * High-level call quality statistics with cumulative metrics for the entire * call session, including connection-level stats and separate audio/video * quality stats. */ readonly qualityStats: QualityStats; /** * Raw call telemetry data containing periodic internal/opaque values for the * last few seconds of the call, or undefined if unavailable. */ readonly rawStats: Uint8Array | undefined; /** * Textual description of raw telemetry data, or undefined if unavailable. */ readonly rawStatsText: string | undefined; /** * Textual representation of the call end reason. */ readonly callEndReasonText: string; /** * Whether the call is eligible for user survey (i.e., the call actually connected). */ readonly isSurveyCandidate: boolean; }