-
Notifications
You must be signed in to change notification settings - Fork 2
VideoOptions
Adnan Mujagić edited this page Aug 12, 2025
·
8 revisions
static builder(): VideoOptionsBuildercameraOrientation(): CameraOrientationvideoFilter(): VideoFiltervideoMode(): VideoModecameraVideoFrameRate(): numberscreenShareFrameRate(): numberdeviceId(): string
Creates a builder instance used to build a new instance of VideoOptions.
none
-
VideoOptionsBuilder- Instance of the builder.
let videoOptionsBuilder = VideoOptions.builder();Getter for the cameraOrientation field.
none
-
CameraOrientation- Value of thecameraOrientationfield representing camera facing mode.
let videoOptions = VideoOptions.builder()
.setCameraOrientation(CameraOrientation.BACK)
.build();
let cameraOrientation = videoOptions.cameraOrientation;Getter for the videoFilter field.
none
-
VideoFilter- The value of thevideoFilterfield, which represents the video filter to be applied on the camera video stream.
let videoFilter = createVideoFilterImplementation();
let videoOptions = VideoOptions.builder()
.setVideoFilter(videoFilter)
.build();
let videoFilter = videoOptions.videoFilter;Getter for the videoMode field.
none
-
VideoMode- Value of thevideoModefield representing a configuration used for video subscriptions in the call.
let videoOptions = VideoOptions.builder()
.setVideoMode(VideoMode.GRID)
.build();
let videoMode = videoOptions.videoMode;Getter for the cameraVideoFrameRate field.
none
-
number- Value of thecameraVideoFrameRatefield representing the max frame rate of the camera video. The value ranges from1(min) to30(max) frames per second.
let videoOptions = VideoOptions.builder()
.setCameraVideoFrameRate(30)
.build();
let cameraVideoFrameRate = videoOptions.videoMode.cameraVideoFrameRate;Getter for the screenShareFrameRate field.
none
-
number- Value of thescreenShareFrameRatefield representing the max frame rate of the screen share. The value ranges from1(min) to30(max) frames per second.
let videoOptions = VideoOptions.builder()
.setScreenShareFrameRate(30)
.build();
let cameraVideoFrameRate = videoOptions.videoMode.screenShareFrameRate;Getter for the deviceId field.
none
-
string- Value of thedeviceIdfield representing the identifier of the preferred video input device.
let videoOptions = VideoOptions.builder()
.deviceId('my-preferred-device-id')
.build();
let deviceId = videoOptions.deviceId