amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / DefaultAudioVideoFacade / addActiveSpeakerObserver

addActiveSpeakerObserver

fun addActiveSpeakerObserver(policy: ActiveSpeakerPolicy, observer: ActiveSpeakerObserver): Unit

Adds an active speaker observer along with a policy to calculate active speaker scores

Parameters

policy - : ActiveSpeakerPolicy - Lets you specify a policy to calculate active speaker scores

observer - : ActiveSpeakerObserver - Lets you specify an observer to active speaker updates