Removes a banned participant from the rendered participant list and reorders streams if needed.
Participant name and stream reordering helpers.
Resolves when participant state is updated.
await banParticipant({ name: 'John Doe', parameters,}); Copy
await banParticipant({ name: 'John Doe', parameters,});
Removes a banned participant from the rendered participant list and reorders streams if needed.