VideoForwardingStrategy

The VideoForwardingStrategy model 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 in SDK 3.6 and later. In SDK 3.5 and earlier, the SDK supports only the LastSpeaker strategy.

By default, the SDK uses the LastSpeaker strategy.

Enumeration members

ClosestUser

ClosestUser: = "closestUserStrategy"

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 style is available only for participants who enabled spatial audio.


LastSpeaker

LastSpeaker: = "lastSpeakerStrategy"

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


Did this page help you?