onActiveSpeakersChanged method Null safety

void onActiveSpeakersChanged(
  1. List<Participant> participants
)

Active speakers changed. List of speakers are ordered by their audio level. loudest speakers first. This will include the LocalParticipant too.

Implementation

void onActiveSpeakersChanged(List<Participant> participants) {}