Interface ActiveSpeakerPolicy

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

interface ActiveSpeakerPolicy {
    calculateScore(
        attendeeId: string,
        volume: number,
        muted: boolean,
    ): number;
    prioritizeVideoSendBandwidthForActiveSpeaker(): boolean;
}

Implemented by

Methods