@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
19 lines (18 loc) • 679 B
TypeScript
import AnalyticsEvent from './AnalyticsEvent';
import { IAnalyticsTransportProvider } from './IAnalyticsTransportProvider';
import { ENV } from '../utils/support';
declare class ClientAnalyticsTransport implements IAnalyticsTransportProvider {
readonly TAG = "[HTTPAnalyticsTransport]";
private failedEvents;
isConnected: boolean;
private env;
private websocketURL;
setEnv(env: ENV): void;
setWebsocketEndpoint(ws: string): void;
sendEvent(event: AnalyticsEvent): void;
flushFailedEvents(): void;
private addEventToStorage;
private removeFromStorage;
}
export declare const HTTPAnalyticsTransport: ClientAnalyticsTransport;
export {};