infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
39 lines (38 loc) • 1.7 kB
TypeScript
import { CallOptions } from "./CallOptions";
import { VideoOptions } from "./VideoOptions";
import { AudioOptions } from "./AudioOptions";
import { CustomData } from "../CustomDataType";
import { WebrtcCallRecordingOptions } from "./WebrtcCallRecordingOptions";
export declare class WebrtcCallOptions extends CallOptions {
private _video;
private _videoOptions;
private _dataChannel;
constructor(audio: boolean, audioOptions: AudioOptions, recordingOptions: WebrtcCallRecordingOptions, customData: CustomData, autoReconnect: boolean, _video: boolean, _videoOptions: VideoOptions, _dataChannel: boolean);
get video(): boolean;
set video(value: boolean);
get videoOptions(): VideoOptions;
set videoOptions(value: VideoOptions);
get dataChannel(): boolean;
set dataChannel(value: boolean);
static builder(): WebrtcCallOptionsBuilder;
}
declare class WebrtcCallOptionsBuilder {
private _audio;
private _audioOptions;
private _recordingOptions;
private _customData;
private _video;
private _videoOptions;
private _dataChannel;
private _autoReconnect;
setAudio(value: boolean): WebrtcCallOptionsBuilder;
setAudioOptions(value: AudioOptions): WebrtcCallOptionsBuilder;
setRecordingOptions(recordingOptions: WebrtcCallRecordingOptions): this;
setCustomData(value: CustomData): WebrtcCallOptionsBuilder;
setVideo(value: boolean): WebrtcCallOptionsBuilder;
setVideoOptions(value: VideoOptions): WebrtcCallOptionsBuilder;
setDataChannel(_dataChannel: boolean): WebrtcCallOptionsBuilder;
setAutoReconnect(_autoReconnect: boolean): WebrtcCallOptionsBuilder;
build(): WebrtcCallOptions;
}
export {};