MediaSFU React Native
    Preparing search index...

    Function readjust

    • Adjusts the layout parameters based on the provided options.

      Parameters

      Returns Promise<void>

      A promise that resolves when the layout adjustment is complete.

      Throws an error if there is an issue updating the grid sizes.

      await readjust({
      n: 5,
      state: 1,
      parameters: {
      eventType: 'conference',
      shareScreenStarted: false,
      shared: false,
      mainHeightWidth: 100,
      prevMainHeightWidth: 80,
      hostLabel: 'Host Name',
      first_round: false,
      lock_screen: false,
      updateMainHeightWidth: updateMainHeightWidthFunction,
      getUpdatedAllParams: getUpdatedAllParamsFunction,
      },
      });