VideoForwardingStrategy

The VideoForwardingStrategy enum defines how the SDK should select conference participants whose videos will be transmitted to the local participant.
There are two possible values; the selection can be either based on the participants' audio volume or the distance from the local participant.

Selecting the video forwarding strategy is supported only on SDK 3.6 and later. On earlier SDK versions, the SDK supports only the LAST_SPEAKER.

By default, the SDK uses the LAST_SPEAKER strategy.

Enumeration members

LAST_SPEAKER

LAST_SPEAKER = "LAST_SPEAKER"

Selects participants based on their audio volume. This allows the local participant to receive video streams only from active speakers.


CLOSEST_USER

CLOSEST_USER = "CLOSEST_USER"

Selects participants based on their distance from the local participant. This allows the local participant to receive video streams only from the nearest participants. This strategy is available only for participants who enabled spatial audio.


Did this page help you?