onAudioLevelUpdate

abstract fun onAudioLevelUpdate(speakers: Array<HMSSpeaker>)

Called when there are active speakers in the room.

Parameters

speakers
  • List of HMSSpeaker{peer_id, level} sorted by audioLevel in descending order.