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 4. The default value is 4. In the case of providing a value smaller than 0 or greater than 4, 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<String>): VideoForwardingOptions.Builder

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

Parameters

NameTypeDescription
participantsList<String>non null The list of participants.

Returns: VideoForwardingOptions.Builder


build

build(): VideoForwardingOptions

Constructs the VideoForwardingOptions instance.

Returns: VideoForwardingOptions


Did this page help you?