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

14 lines (13 loc) 590 B
import { HMSPeer, HMSPeerInit } from './HMSPeer'; import { HMSRemotePeer as IHMSRemotePeer } from '../../../interfaces/peer'; import { HMSRemoteAudioTrack, HMSRemoteTrack, HMSRemoteVideoTrack } from '../../../media/tracks'; declare type HMSRemotePeerInit = Omit<HMSPeerInit, 'isLocal'>; export declare class HMSRemotePeer extends HMSPeer implements IHMSRemotePeer { isLocal: boolean; audioTrack?: HMSRemoteAudioTrack; videoTrack?: HMSRemoteVideoTrack; auxiliaryTracks: HMSRemoteTrack[]; fromRoomState: boolean; constructor(peerData: HMSRemotePeerInit); } export {};