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
Name | Type | Description |
---|---|---|
max | int | The maximum number of video streams that may be transmitted to the local participant. The valid values are between 0 and 25. The default value is 4. In the case of providing a value smaller than 0 or greater than 25, 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
Name | Type | Description |
---|---|---|
strategy | VideoForwardingStrategy | non 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
Name | Type | Description |
---|---|---|
participants | List<String> | non null The list of participants. |
Returns: VideoForwardingOptions.Builder
build
▸ build(): VideoForwardingOptions
Constructs the VideoForwardingOptions instance.
Returns: VideoForwardingOptions
Updated 9 months ago