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.

lastSpeaker

Selects participants based on their audio volume, which means that the local participant receives video streams only from active speakers.


closestUser

Selects participants based on the distance from the local participant. This means that the local participant receives video streams only from the nearest participants. This strategy is available only for participants who enabled spatial audio.


Did this page help you?