@100mslive/hms-video-store
Version:
@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
18 lines (17 loc) • 636 B
TypeScript
import { HMSException } from '../../error/HMSException';
import { EventBus } from '../../events/EventBus';
export declare class AudioPluginsAnalytics {
private eventBus;
private readonly TAG;
private readonly initTime;
private readonly addedTimestamps;
private readonly pluginAdded;
private readonly pluginSampleRate;
constructor(eventBus: EventBus);
added(name: string, sampleRate: number): void;
removed(name: string): void;
failure(name: string, error: HMSException): void;
initWithTime<T>(name: string, initFn: () => Promise<T>): Promise<void>;
private timeInMs;
private clean;
}