infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
29 lines (28 loc) • 720 B
TypeScript
import { ErrorCode } from "../../event/ErrorCode";
import { RecordingType } from "../../options/RecordingOptions";
import { CustomData } from '../../CustomDataType';
export interface RingingEvent {
customData: CustomData;
}
export interface CallResponseEvent {
callId: string;
isEarlyMedia: boolean;
description: RTCSessionDescriptionInit;
}
export interface CallAcceptedEvent {
callId: string;
}
export interface HangupEvent {
callId: string;
status: ErrorCode;
}
export interface CallErrorEvent {
status: ErrorCode;
}
export interface CallRecordingStartedEvent {
callId: string;
recordingType: RecordingType;
}
export interface CallRecordingStoppedEvent {
callId: string;
}