Skip to content

VideoOptions

Lejla Solak edited this page Sep 11, 2023 · 7 revisions



static builder()

Description

Creates a builder instance used to build a new instance of VideoOptions.

Arguments

  • none

Returns

Example

let videoOptionsBuilder = VideoOptions.builder();



cameraOrientation()

Description

Getter for the cameraOrientation field.

Arguments

  • none

Returns

  • CameraOrientation - Value of the cameraOrientation field representing camera facing mode.

Example

let videoOptions = VideoOptions.builder().setCameraOrientation(CameraOrientation.BACK).build();
let cameraOrientation = videoOptions.cameraOrientation;



videoFilterFactory()

Description

Getter for the videoFilterFactory field.

Arguments

  • none

Returns

  • VideoFilterFactory - Value of the videoFilterFactory field representing a creator function which, when called, returns a new object instance implementing the VideoFilter interface.

Example

let videoOptions = VideoOptions.builder().setVideoFilterFactory(() => createVideoFilterImplementation()).build();
let videoFilterFactory = videoOptions.videoFilterFactory;



videoMode()

Description

Getter for the videoMode field.

Arguments

  • none

Returns

  • VideoMode - Value of the videoMode field representing a configuration used for video subscriptions in the call.

Example

let videoOptions = VideoOptions.builder().setVideoMode(VideoMode.GRID).build();
let videoMode = videoOptions.videoMode;

Tutorials

Migration guides

Reference documentation

Clone this wiki locally