Package org.jitsi.utils.dsi
Class AbstractActiveSpeakerDetector
-
- All Implemented Interfaces:
-
org.jitsi.utils.dsi.ActiveSpeakerDetector
public abstract class AbstractActiveSpeakerDetector<T> implements ActiveSpeakerDetector<T>
Provides a base ActiveSpeakerDetector which aids the implementations of actual algorithms for the detection/identification of the active/dominant speaker in a multipoint conference.
Boris Grozev
Lyubomir Marinov
-
-
Constructor Summary
Constructors Constructor Description AbstractActiveSpeakerDetector()
-
Method Summary
Modifier and Type Method Description voidaddActiveSpeakerChangedListener(ActiveSpeakerChangedListener<T> listener)Adds a listener to be notified by this active speaker detector when the active stream changes. voidremoveActiveSpeakerChangedListener(ActiveSpeakerChangedListener<T> listener)Removes a listener to no longer be notified by this active speaker detector when the active stream changes. -
-
Method Detail
-
addActiveSpeakerChangedListener
void addActiveSpeakerChangedListener(ActiveSpeakerChangedListener<T> listener)
Adds a listener to be notified by this active speaker detector when the active stream changes.
-
removeActiveSpeakerChangedListener
void removeActiveSpeakerChangedListener(ActiveSpeakerChangedListener<T> listener)
Removes a listener to no longer be notified by this active speaker detector when the active stream changes.
-
-
-
-