UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

4 lines (3 loc) 318 B
import { MediaType, RtcStatsTypes } from "./reporting/WebRTCStats.types"; export declare function getStatsWithType(report: RTCStatsReport, type: RtcStatsTypes, kind: MediaType): Record<string, any> | null; export declare function calculateBufferSize(timeSpanCoveredMs: number, statsRequestIntervalMs: number): number;