VideoForwardingOptions.Builder

The VideoForwardingOptions.Builder model is responsible for creating the VideoForwardingOptions instance.

Available in the package com.voxeet.sdk.services.builders.VideoForwardingOptions.Builder.

Constructors

Builder

Builder()

Creates a builder object.

Methods

setMaxVideoForwarding

setMaxVideoForwarding(max: int): VideoForwardingOptions.Builder

Sets the maximum number of video streams that may be transmitted to the local participant.

Parameters

NameTypeDescription
maxintThe maximum number of video streams that may be transmitted to the local participant. The valid values are between 0 and 49. The default value is 4. In the case of providing a value smaller than 0 or greater than 49, SDK triggers the IllegalStateException error.

Returns: VideoForwardingOptions.Builder


setVideoForwardingStrategy

setVideoForwardingStrategy(@NonNull strategy: VideoForwardingStrategy): VideoForwardingOptions.Builder

Sets the video forwarding strategy for the local participant.

Parameters

NameTypeDescription
strategyVideoForwardingStrategynon null The video forwarding strategy.

Returns: VideoForwardingOptions.Builder


setParticipants

setParticipants(@NonNull participants: List): VideoForwardingOptions.Builder

Sets a list of participants whose video streams should be always transmitted to the local participant.

Parameters

NameTypeDescription
participantsListnon null The list of participants.

Returns: VideoForwardingOptions.Builder


build

build(): VideoForwardingOptions

Constructs the VideoForwardingOptions instance.

Returns: VideoForwardingOptions