producers\socket_receive_methods\ban_participant library

Classes

BanParticipantOptions
Options for banning a participant, including their name and the required parameters.
BanParticipantParameters
Parameters for banning a participant, extending ReorderStreamsParameters and including properties like active and display names, participants, and update and reorder functions.

Functions

banParticipant(BanParticipantOptions options) Future<void>
Bans a participant by removing them from the active and display names lists, updating the participants list, and reordering the streams if necessary.

Typedefs

BanParticipantType = Future<void> Function(BanParticipantOptions options)