LiveKit React Native Client SDK - v3.1.0
Preparing search index...
sortParticipants
Function sortParticipants
sortParticipants
(
participants
:
Participant
[]
,
localParticipant
?:
LocalParticipant
,
)
:
void
Default sort for participants, it'll order participants by:
dominant speaker (speaker with the loudest audio level)
local participant
other speakers that are recently active
participants with video on
by joinedAt
Parameters
participants
:
Participant
[]
Optional
localParticipant
:
LocalParticipant
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
LiveKit React Native Client SDK - v3.1.0
Loading...
Default sort for participants, it'll order participants by: