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

    Function focusPanelists

    • Focuses the display on panelists only. When enabled, only panelists appear on the grid. Optionally mutes other participants' mic and/or camera.

      Parameters

      Returns Promise<void>

      await focusPanelists({
      socket,
      roomName: "room123",
      member: "currentUser",
      islevel: "2",
      focusEnabled: true,
      muteOthersMic: true,
      muteOthersCamera: false,
      showAlert: (alert) => console.log(alert.message),
      });