ActiveSpeakerPolicy
@objc
public protocol ActiveSpeakerPolicy
-
Return the score of the speaker. If the score is 0, this speaker is not active.
Declaration
Swift
func calculateScore(attendeeInfo: AttendeeInfo, volume: VolumeLevel) -> Double
Parameters
attendeeInfo
Attendee to calculate the score for
volume
Volume level of the speaker
Return Value
The score of the speaker. The higher score, the more active the speaker.
-
Indicates whether the audio video controller is allowed to increase video send bandwidth for the currently active speaker if they have an active video tile. Set this to true, if your application makes the active speaker video tile larger than the other tiles.
Declaration
Swift
func prioritizeVideoSendBandwidthForActiveSpeaker() -> Bool
Return Value
Whether to prioritize video bandwidth for active speakers