MediaSFU Shared
    Preparing search index...

    Function banParticipant

    • Removes a banned participant from the rendered participant list and reorders streams if needed.

      Type Parameters

      • TParameters = unknown
      • TParticipant extends { name?: string | null } = Participant

      Parameters

      Returns Promise<void>

      Resolves when participant state is updated.

      await banParticipant({
      name: 'John Doe',
      parameters,
      });