onSpeakerChanged

open fun onSpeakerChanged(activeSpeakerId: String?)

Called when the room's active speaker changes. One speaker at a time — this is not a per-participant volume feed. Room.getActiveSpeakerId reads the same value later.

Parameters

activeSpeakerId

the participant now speaking, or null when the room fell quiet.