-
Notifications
You must be signed in to change notification settings - Fork 2
RoomCallOptions
Adnan Elezović edited this page Feb 7, 2025
·
2 revisions
static builder(): RoomCallOptionsBuilderaudio(): booleanaudioOptions(): AudioOptionsvideo(): booleanvideoOptions(): VideoOptionsrecordingOptions(): RoomCallRecordingOptionscustomData(): CustomDataautoReconnect(): booleandataChannel(): 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 theaudiofield 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 theaudioOptionsfield 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 thevideofield 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 thevideoOptionsfield 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 therecordingOptionsfield 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 thecustomDatafield that is defined as an object of key-valuestringpairs.
let roomCallOptions = RoomCallOptions.builder().setCustomData({"city": "New York"}).build();
let customData = roomCallOptions.customData;Getter for the autoReconnect field.
none
-
boolean- Value of theautoReconnectfield 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 thedataChannelfield indicating whether the data channel should be created for the room call.
let roomCallOptions = RoomCallOptions.builder().setDataChannel(true).build();
let isDataChannel = roomCallOptions.dataChannel;