on Speaker Changed
Called when the active speaker changes.
The active speaker is the participant who is currently speaking the loudest. When no one is speaking, this callback is fired with null.
Code Example:
override fun onSpeakerChanged(participantId: String?) {
if (participantId != null) {
Log.d("Meeting", "Active speaker: $participantId")
}
}
Content copied to clipboard
Parameters
participant Id
the ID of the active speaker participant, or null if no one is speaking