activeSpeaker

fun activeSpeaker(): Participant?

Get the current active speaker.

If this is called from the main thread (or from your custom thread if you created the CallClient with a custom Handler), then the value returned is consistent with the state of the CallClient as of the most recent callback.

Return

The Participant that is currently the active (most audible) speaker, or null if nobody is speaking.