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

25 lines (21 loc) 599 B
import { HMSRemotePeer } from './peer'; import { HMSRole } from './role'; import { HMSLocalTrack, HMSTrackSource } from '../media/tracks'; export interface HMSChangeTrackStateRequest { requestedBy?: HMSRemotePeer; track: HMSLocalTrack; enabled: boolean; } export interface HMSChangeMultiTrackStateParams { enabled: boolean; roles?: HMSRole[]; type?: 'audio' | 'video'; source?: HMSTrackSource; } export interface HMSChangeMultiTrackStateRequest { requestedBy?: HMSRemotePeer; tracks: HMSLocalTrack[]; enabled: boolean; type?: 'audio' | 'video'; source?: HMSTrackSource; }