UNPKG

@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

29 lines (28 loc) 1.01 kB
import { HMSUpdateListener } from '../../interfaces'; import { Store } from '../../sdk/store'; import { HMSNotificationMethod } from '../HMSNotificationMethod'; export declare class RoomUpdateManager { private store; listener?: HMSUpdateListener | undefined; private readonly TAG; constructor(store: Store, listener?: HMSUpdateListener | undefined); handleNotification(method: HMSNotificationMethod, notification: any): void; private handleRoomInfo; private handleSessionInfo; private handlePreviewRoomState; private onRoomState; private addTranscriptionDetail; private isRecordingRunning; private isStreamingRunning; private initHLS; private updateHLSStatus; private handleTranscriptionStatus; private convertHls; private getHLSRecording; private getPeerListHLSRecording; private getPeerListBrowserRecording; private getPeerListSFURecording; private updateRecordingStatus; private updateRTMPStatus; private toSdkError; }