useParticipantIds(params?): string[];
Use it to render groups, grids, or lists of participant tiles.
If no parameters are provided, the ids of all participants in the call are returned.
Parameters (optional)
An object with the following properties:string
'local' | 'remote' | 'screen' | 'owner' | 'record' | FilterParticipantsFunction, filters the list of participant ids according to the provided criteriaFunction
Callback for the
active-speaker-change eventFunction
Callback for the
participant-joined eventFunction
Callback for the
participant-left eventFunction
Callback for the
participant-updated eventstring
'joined_at' | 'session_id' | 'user_id' | 'user_name' | SortParticipantsFunction, sorts the list of participant ids according to the provided criteriaReturn value
Returns astring[] — an array of participant ids.