MediaSFU React Native (Expo)
    Preparing search index...

    Function bulkUpdateParticipantPermissions

    • Updates multiple participants' permission levels in bulk. Only hosts (islevel === "2") can update permissions. Processes in batches (default max 50 at a time).

      Parameters

      Returns Promise<void>

      await bulkUpdateParticipantPermissions({
      socket,
      participants: [participant1, participant2],
      newLevel: "0",
      member: "currentUser",
      islevel: "2",
      roomName: "room123",
      showAlert: (alert) => console.log(alert.message),
      maxBatchSize: 50,
      });