-
Notifications
You must be signed in to change notification settings - Fork 1
RoomCallOptions
Adnan Elezović edited this page Feb 7, 2025
·
2 revisions
static builder(): RoomCallOptionsBuilder
audio(): boolean
audioOptions(): AudioOptions
video(): boolean
videoOptions(): VideoOptions
recordingOptions(): RoomCallRecordingOptions
customData(): CustomData
autoReconnect(): 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 autoReconnect
field.
none
-
boolean
- Value of theautoReconnect
field indicating whether the room call should initiate reconnecting process when connection is lost.
let roomCallOptions = RoomCallOptions.builder().setAutoReconnect(true).build();
let isAutoReconnect = roomCallOptions.autoReconnect;
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;