UNPKG

infobip-rtc

Version:

Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation

20 lines (19 loc) 752 B
export declare enum InfobipRTCEvent { CONNECTED = "connected", RECONNECTING = "reconnecting", RECONNECTED = "reconnected", DISCONNECTED = "disconnected", INCOMING_APPLICATION_CALL = "incoming-application-call", INCOMING_WEBRTC_CALL = "incoming-webrtc-call" } export type AnyInfobipRTCEvent = InfobipRTCEvent.CONNECTED | InfobipRTCEvent.RECONNECTING | InfobipRTCEvent.RECONNECTED | InfobipRTCEvent.DISCONNECTED | InfobipRTCEvent.INCOMING_APPLICATION_CALL | InfobipRTCEvent.INCOMING_WEBRTC_CALL; export declare namespace InfobipRTCEvents { type ConnectedEvent = { identity: string; }; type ReconnectedEvent = {}; type ReconnectingEvent = {}; type DisconnectedEvent = { reason: string; }; }