amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector / ActiveSpeakerObserver

ActiveSpeakerObserver

interface ActiveSpeakerObserver

ActiveSpeakerObserver handles active speaker detection and score changes for attendees.

Properties

scoreCallbackIntervalMs

abstract val scoreCallbackIntervalMs: Int?

Functions

onActiveSpeakerDetected

Notifies observers of changes to active speaker.

abstract fun onActiveSpeakerDetected(attendeeInfo: Array<AttendeeInfo>): Unit

onActiveSpeakerScoreChanged

Periodically sends active speaker scores to observers ONLY IF scoreCallbackIntervalMs is not null

abstract fun onActiveSpeakerScoreChanged(scores: Map<AttendeeInfo, Double>): Unit