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

    Function addPanelist

    • Adds a participant to the panelist list. Respects the maximum panelist limit.

      Parameters

      Returns Promise<boolean>

      True if added successfully, false otherwise.

      const success = await addPanelist({
      socket,
      participant: { id: "123", name: "John" },
      currentPanelists: [],
      maxPanelists: 10,
      roomName: "room123",
      member: "currentUser",
      islevel: "2",
      showAlert: (alert) => console.log(alert.message),
      });