Function sortParticipants

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

    1. dominant speaker (speaker with the loudest audio level)
    2. local participant
    3. other speakers that are recently active
    4. participants with video on
    5. by joinedAt

    Parameters

    • participants: default[]
    • Optional localParticipant: default

    Returns void

Generated using TypeDoc