ActiveSpeakerDetectorFacade
@objc
public protocol ActiveSpeakerDetectorFacade
ActiveSpeakerDetectorFacade listens to the volume indicator updates from the RealtimeControllerFacade.
It consults the ActiveSpeakerPolicy to determine if the speaker is active or not.
-
Starts the active speaker detector on the callback for the given policy.
Declaration
Swift
func addActiveSpeakerObserver( policy: ActiveSpeakerPolicy, observer: ActiveSpeakerObserver )Parameters
policyHandles Active Speaker implementation
observerObserver that handles Active Speaker Events
-
Stops the active speaker detector callback from being called.
Declaration
Swift
func removeActiveSpeakerObserver(observer: ActiveSpeakerObserver)Parameters
observerObserver that handles Active Speaker Events
-
Handles bandwidth
Declaration
Swift
func hasBandwidthPriorityCallback(hasBandwidthPriority: Bool)Parameters
hasBandwidthPriorityTells the active speaker detector whether or not to prioritize video bandwidth for active speakers