@testrtc/watchrtc-sdk
Version:
Monitor your WebRTC application by collecting WebRTC statistics from end users
15 lines (14 loc) • 423 B
TypeScript
import { IStorage } from "./interfaces";
export default class Storage implements IStorage {
private store;
private current;
constructor();
stash(stats: any): void;
storeRawStats(stats: any): void;
flushRawStats(idToKeep: number): any | null;
get referenceStats(): any;
get stashedStats(): any;
reset(): void;
pickupNewReference(): any;
rewriteBuffer(referenceStats: any): any;
}