@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 (26 loc) • 879 B
text/typescript
import { HMSHLS, HMSRecording, HMSRoom, HMSRTMP, HMSTranscriptionInfo } from '../../interfaces/room';
export default class Room implements HMSRoom {
id: string;
joinedAt?: Date | undefined;
templateId?: string | undefined;
sessionId?: string;
startedAt?: Date;
recording: HMSRecording = { server: { running: false }, browser: { running: false }, hls: { running: false } };
rtmp: HMSRTMP = { running: false };
hls: HMSHLS = { running: false, variants: [] };
name?: string;
peerCount?: number;
description?: string;
max_size?: number;
large_room_optimization?: boolean;
transcriptions?: HMSTranscriptionInfo[] = [];
isEffectsEnabled?: boolean;
disableNoneLayerRequest?: boolean;
isVBEnabled?: boolean;
effectsKey?: string;
isHipaaEnabled?: boolean;
isNoiseCancellationEnabled?: boolean;
constructor(id: string) {
this.id = id;
}
}