-
Notifications
You must be signed in to change notification settings - Fork 2
WebrtcCallOptions
Ajša Terko edited this page Jan 30, 2025
·
6 revisions
extends CallOptions
static builder(): WebrtcCallOptionsBuildervideo(): booleanvideoOptions(): VideoOptionsdataChannel(): boolean
Creates a builder instance used to build a new instance of WebrtcCallOptions.
none
-
WebrtcCallOptionsBuilder- Instance of the builder.
let webrtcCallOptionsBuilder = WebrtcCallOptions.builder();Getter for the video field.
none
-
boolean- Value of thevideofield indicating whether the call should include local video.
let webrtcCallOptions = WebrtcCallOptions.builder().setVideo(true).build();
let video = webrtcCallOptions.video;Getter for the videoOptions field.
none
-
VideoOptions- Value of thevideoOptionsfield indicating what configuration should be used for the local video.
let webrtcCallOptions = WebrtcCallOptions.builder()
.setVideo(true)
.setVideoOptions(VideoOptions.builder().setCameraOrientation(CameraOrientation.BACK).build())
.build();
let videoOptions = webrtcCallOptions.videoOptions;Getter for the dataChannel field.
none
-
boolean- Value of thedataChannelfield indicating whether the data channel should be created for the call.
let webrtcCallOptions = WebrtcCallOptions.builder().setDataChannel(true).build();
let dataChannel = webrtcCallOptions.dataChannel;