VideoForwardingStrategy enum Models

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.

Inheritance

Constructors

VideoForwardingStrategy(String _value)
const

Values

lastSpeaker → const VideoForwardingStrategy

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

VideoForwardingStrategy('LAST_SPEAKER')
closestUser → const VideoForwardingStrategy

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

VideoForwardingStrategy('CLOSEST_USER')

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

encode() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(String value) VideoForwardingStrategy

Constants

values → const List<VideoForwardingStrategy>
A constant List of the values in this enum, in order of their declaration.
[lastSpeaker, closestUser]