-
Notifications
You must be signed in to change notification settings - Fork 0
WebrtcCallOptions
Adnan Mujagić edited this page Sep 21, 2023
·
5 revisions
extends
CallOptions
static builder(): WebrtcCallOptionsBuilder
video(): boolean
videoOptions(): VideoOptions
-
dataChannel(): 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 thevideo
field 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 thevideoOptions
field 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 thedataChannel
field indicating whether the data channel should be created for the call.
let webrtcCallOptions = WebrtcCallOptions.builder().setDataChannel(true).build();
let dataChannel = webrtcCallOptions.dataChannel;