MediaSFU React Native
    Preparing search index...

    Function resumePauseStreams

    • Resumes or pauses streams based on the provided parameters.

      Parameters

      Returns Promise<void>

      A promise that resolves when the streams have been resumed or paused.

      Will throw an error if there is an issue during the process of resuming or pausing streams.

      await resumePauseStreams({
      parameters: {
      participants: participantArray,
      dispActiveNames: ['user1', 'user2'],
      consumerTransports: transportArray,
      screenId: 'screen-123',
      islevel: '1',
      },
      });