useWaitingParticipants(params?): Object
useWaitingParticipants can also be used to set up optional callbacks for waiting-participant-added, waiting-participant-updated, and waiting-participant-removed events.
Parameters (optional)
An object with the following properties:Callback for the
waiting-participant-added event.Callback for the
waiting-participant-updated event.Callback for the
waiting-participant-removed event.Return value
An object with the following properties:Details waiting participants, see
waitingParticipants().Can be used to admit entry to waiting participants. Accepts
'*' to admit all participants, or a string session_id to admit a specific participant.Can be used to deny entry to waiting participants. Accepts
'*' to deny all participants, or a string session_id to deny a specific participant.