@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
21 lines (12 loc) • 453 B
text/typescript
import { HMSTrickle } from '../connection/model';
import { HMSException } from '../error/HMSException';
export interface ISignalEventsObserver {
onOffer(jsep: RTCSessionDescriptionInit): void;
onTrickle(trickle: HMSTrickle): void;
onNotification(message: any): void;
onServerError(error: HMSException): void;
onFailure(exception: HMSException): void;
onOffline(reason: string): void;
onOnline(): void;
onNetworkOnline(): void;
}