MediaSFU React Native
    Preparing search index...

    Function allWaitingRoomMembers

    • Updates the waiting room participants list and the total count of waiting room participants.

      Parameters

      Returns Promise<void>

      A promise that resolves when the updates are complete.

      const participants = [
      { name: "Alice", waitingSince: "10:30" },
      { name: "Bob", waitingSince: "10:35" },
      ];

      await allWaitingRoomMembers({
      waitingParticipants: participants,
      updateWaitingRoomList: setWaitingRoomParticipants,
      updateTotalReqWait: setTotalWaitingRequests,
      });