sortParticipants

fun sortParticipants(participants: List<Participant>): List<Participant>

Default sort for participants, it'll order participants by:

  1. local participant

  2. dominant speaker (speaker with the loudest audio level)

  3. other speakers that are recently active

  4. participants with video on

  5. by joinedAt