@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
11 lines (10 loc) • 415 B
TypeScript
export interface RTCIceCandidatePair {
local?: RTCIceCandidate;
remote?: RTCIceCandidate;
}
export default interface IConnectionObserver {
onIceConnectionChange(newState: RTCIceConnectionState): void;
onConnectionStateChange(newState: RTCPeerConnectionState): void;
onIceCandidate(candidate: RTCIceCandidate): void;
onSelectedCandidatePairChange(candidatePair: RTCIceCandidatePair): void;
}