infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
25 lines (24 loc) • 1.3 kB
TypeScript
/// <reference types="node" />
import { IncomingWebrtcCall } from "../IncomingWebrtcCall";
import { WebrtcCallOptions } from "../options/WebrtcCallOptions";
import { DeclineOptions } from "../options/DeclineOptions";
import { DefaultWebrtcCall } from "./DefaultWebrtcCall";
import { EventEmitter } from "events";
import { InfobipGateway } from "../../gateway/InfobipGateway";
import { Logger } from "../../log/Logger";
import { Device } from "../../device/Device";
import { Endpoint } from "../../util/Endpoint";
export declare class DefaultIncomingWebrtcCall extends DefaultWebrtcCall implements IncomingWebrtcCall {
protected eventEmitter: EventEmitter;
protected gateway: InfobipGateway;
protected logger: Logger;
protected rtcConfig: any;
protected device: Device;
private hasRemoteVideo;
constructor(eventEmitter: EventEmitter, gateway: InfobipGateway, logger: Logger, rtcConfig: any, device: Device, hasRemoteVideo: boolean, currentUserIdentity: string, counterpartIdentity: string, remoteOffer: RTCSessionDescriptionInit, token: string, apiUrl: string, callId: string);
private static mapOptions;
hasRemoteCameraVideo(): boolean;
counterpart(): Endpoint;
accept(options?: WebrtcCallOptions): void;
decline(options?: DeclineOptions): void;
}