-
Notifications
You must be signed in to change notification settings - Fork 0
RoomCallOptions
Ajša Terko edited this page Dec 7, 2023
·
1 revision
static builder(): RoomCallOptionsBuilder
audio(): boolean
audioOptions(): AudioOptions
video(): boolean
videoOptions(): VideoOptions
recordingOptions(): RoomCallRecordingOptions
customData(): CustomData
autoRejoin(): boolean
dataChannel(): boolean
Creates a builder instance used to build a new instance of RoomCallOptions
.
none
-
RoomCallOptionsBuilder
- Instance of the builder.
let roomCallOptionsBuilder = RoomCallOptions.builder();
Getter for the audio
field.
none
-
boolean
- Value of theaudio
field indicating whether the call should include local audio.
let roomCallOptions = RoomCallOptions.builder().setAudio(false).build();
let audio = roomCallOptions.audio;
Getter for the audioOptions
field.
none
-
AudioOptions
- Value of theaudioOptions
field indicating what configuration should be used for the audio.
let roomCallOptions = RoomCallOptions.builder()
.setAudioOptions(AudioOptions.builder().lowDataMode(true).build())
.build();
let audioOptions = roomCallOptions.audioOptions;
Getter for the video
field.
none
-
boolean
- Value of thevideo
field indicating whether the call should include local video.
let roomCallOptions = RoomCallOptions.builder().setVideo(true).build();
let video = roomCallOptions.video;
Getter for the videoOptions
field.
none
-
VideoOptions
- Value of thevideoOptions
field indicating what configuration should be used for the local video.
let roomCallOptions = RoomCallOptions.builder()
.setVideo(true)
.setVideoOptions(VideoOptions.builder().setCameraOrientation(CameraOrientation.BACK).build())
.build();
let videoOptions = roomCallOptions.videoOptions;
Getter for the recordingOptions
field.
none
-
RoomCallRecordingOptions
- Value of therecordingOptions
field representing the recording configuration to be used for this room call.
let recordingOptions = new RoomCallRecordingOptions("AUDIO_AND_VIDEO");
let roomCallOptions = RoomCallOptions.builder().setRecordingOptions(recordingOptions).build();
let roomCallRecordingOptions = roomCallOptions.recordingOptions;
Getter for the customData
field.
none
-
CustomData
- Value of thecustomData
field that is defined as an object of key-valuestring
pairs.
let roomCallOptions = RoomCallOptions.builder().setCustomData({"city": "New York"}).build();
let customData = roomCallOptions.customData;
Getter for the autoRejoin
field.
none
-
boolean
- Value of theautoRejoin
field indicating whether the room call should initiate rejoining process when connection is lost.
let roomCallOptions = RoomCallOptions.builder().setAutoRejoin(true).build();
let isAutoRejoin = roomCallOptions.autoRejoin;
Getter for the dataChannel
field.
none
-
boolean
- Value of thedataChannel
field indicating whether the data channel should be created for the room call.
let roomCallOptions = RoomCallOptions.builder().setDataChannel(true).build();
let isDataChannel = roomCallOptions.dataChannel;