opentok-network-test-js
Version:
Precall network test for applications using the OpenTok platform.
16 lines • 433 B
TypeScript
export type UpdateCallback<A> = (stats: UpdateCallbackStats) => void;
export type UpdateCallbackStats = {
audio: CallbackTrackStats;
video: CallbackTrackStats & {
frameRate: number;
};
timestamp: number;
phase: string;
};
export interface CallbackTrackStats {
bytesSent: number;
bytesReceived: number;
packetsLost: number;
packetsReceived: number;
}
//# sourceMappingURL=callbacks.d.ts.map