ActiveSpeakerPolicy

ActiveSpeakerPolicy calculates a normalized score of how active a speaker is. Implementations of ActiveSpeakerPolicy provide custom algorithms for calculating the score.

Inheritors

Functions

Link copied to clipboard
abstract fun calculateScore(attendeeInfo: AttendeeInfo, volume: VolumeLevel): Double

Return the score of the speaker. If the score is 0, this speaker is not active.