interface ActiveSpeakerPolicy
ActiveSpeakerPolicy calculates a normalized score of how active a speaker is. Implementations of ActiveSpeakerPolicy provide custom algorithms for calculating the score.
calculateScore |
Return the score of the speaker. If the score is 0, this speaker is not active. abstract fun calculateScore(attendeeInfo: AttendeeInfo, volume: VolumeLevel): Double |
DefaultActiveSpeakerPolicy |
DefaultActiveSpeakerPolicy A default implementation of the Active Speaker Policy class DefaultActiveSpeakerPolicy : ActiveSpeakerPolicy |