@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) • 359 B
TypeScript
import { HMSAudioTrack, HMSPeer, HMSTrackType, HMSVideoTrack } from '../';
declare type HMSObjectType<T> = T extends 'audio' ? HMSAudioTrack : T extends 'video' ? HMSVideoTrack : HMSVideoTrack;
export declare const makeFakeTrack: <T extends HMSTrackType>(type?: T | undefined) => HMSObjectType<T>;
export declare const makeFakePeer: () => HMSPeer;
export {};