MediaSFU Shared
    Preparing search index...

    Function SoundPlayer

    • Attempts to play a remote sound asset when the runtime supports browser audio playback.

      Parameters

      Returns Promise<void>

      Completes after playback attempt starts/completes or is skipped.

      await SoundPlayer({
      soundUrl: 'https://www.mediasfu.com/sounds/record-progress.mp3',
      });