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:'local' | 'remote' | 'screen' | 'owner' | 'record' | FilterParticipantsFunction, filters the list of participant ids according to the provided criteriaCallback for the
active-speaker-change eventCallback for the
participant-joined eventCallback for the
participant-left eventCallback for the
participant-updated event'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.