2018-05-08 13:01:34 +02:00
|
|
|
import { Stream } from '../../OpenVidu/Stream';
|
2018-04-26 15:33:47 +02:00
|
|
|
export declare class WebRtcStats {
|
|
|
|
private stream;
|
|
|
|
private webRtcStatsEnabled;
|
|
|
|
private webRtcStatsIntervalId;
|
|
|
|
private statsInterval;
|
|
|
|
private stats;
|
|
|
|
constructor(stream: Stream);
|
|
|
|
isEnabled(): boolean;
|
|
|
|
initWebRtcStats(): void;
|
|
|
|
stopWebRtcStats(): void;
|
|
|
|
private sendStatsToHttpEndpoint(instrumentation);
|
|
|
|
private standardizeReport(response);
|
|
|
|
private getStatsAgnostic(pc, successCb, failureCb);
|
|
|
|
}
|