amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy / ActiveSpeakerPolicy

ActiveSpeakerPolicy

interface ActiveSpeakerPolicy

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

Functions

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

Inheritors

DefaultActiveSpeakerPolicy

DefaultActiveSpeakerPolicy A default implementation of the Active Speaker Policy

class DefaultActiveSpeakerPolicy : ActiveSpeakerPolicy