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

6 lines (5 loc) 493 B
import { HMSAudioTrackSettings, HMSVideoTrackSettings } from '../media/settings'; export declare function getAudioTrack(settings: HMSAudioTrackSettings): Promise<MediaStreamTrack>; export declare function getVideoTrack(settings: HMSVideoTrackSettings): Promise<MediaStreamTrack>; export declare function isEmptyTrack(track: MediaStreamTrack): boolean; export declare const listenToPermissionChange: (permissionName: 'camera' | 'microphone', onChange: (state: PermissionState) => any) => void;