MediaSFU React Native
    Preparing search index...

    Function reorderStreams

    • Reorders the video streams based on the provided options and updates the UI accordingly.

      Parameters

      Returns Promise<void>

      A promise that resolves when the reordering is complete.

      Throws an error if there is an issue updating the streams.

      await reorderStreams({
      add: true,
      screenChanged: false,
      parameters: {
      allVideoStreams: [...],
      participants: [...],
      // additional parameters...
      },
      });