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

# DefaultActiveSpeakerPolicy

`class DefaultActiveSpeakerPolicy : ActiveSpeakerPolicy`

DefaultActiveSpeakerPolicy A default implementation of the Active Speaker Policy

### Constructors

#### <init> | DefaultActiveSpeakerPolicy A default implementation of the Active Speaker Policy `DefaultActiveSpeakerPolicy(speakerWeight: Double = 0.9, cutoffThreshold: Double = 0.01, takeoverRate: Double = 0.2, silenceThreshold: Double = 0.2)`

### Functions

#### calculateScore | Return the score of the speaker. If the score is 0, this speaker is not active. `fun calculateScore(attendeeInfo: AttendeeInfo, volume: VolumeLevel): Double`