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

16 lines (11 loc) 498 B
export interface RTCIceCandidatePair { local?: RTCIceCandidate; remote?: RTCIceCandidate; } export default interface IConnectionObserver { onIceConnectionChange(newState: RTCIceConnectionState): void; // @TODO(eswar): Remove this. Use iceconnectionstate change with interval and threshold. onConnectionStateChange(newState: RTCPeerConnectionState): void; onIceCandidate(candidate: RTCIceCandidate): void; onSelectedCandidatePairChange(candidatePair: RTCIceCandidatePair): void; }