DefaultActiveSpeakerDetector
class DefaultActiveSpeakerDetector(val audioClientObserver: AudioClientObserver) : ActiveSpeakerDetectorFacade, RealtimeObserver
DefaultActiveSpeakerDetector A default implementation of the Active Speaker Detector
Parameters
audioClientObserver
: AudioClientObserver - Needed to subscribe the detector to real time events like volume change, attendee mute and attendee unmute
Functions
Link copied to clipboard
open override fun addActiveSpeakerObserver(policy: ActiveSpeakerPolicy, observer: ActiveSpeakerObserver)
Adds an active speaker observer along with a policy to calculate active speaker scores
Link copied to clipboard
Handles attendee(s) being dropped due to network.
Link copied to clipboard
Handles attendee(s) being added.
Link copied to clipboard
Handles attendee(s) being removed.
Link copied to clipboard
Handles attendee(s) whose VolumeLevel has changed to muted.
Link copied to clipboard
Handles attendee(s) whose VolumeLevel has changed from muted.
Link copied to clipboard
Handles signal strength changes for attendees whose SignalStrength has changed.
Link copied to clipboard
Handles volume changes for attendees whose VolumeLevel has changed.
Link copied to clipboard
Removes an active speaker observer.