@vpalmisano/webrtcperf-js
    Preparing search index...

    Function setMedia

    • It sets the media to the fake stream manager and plays it.

      Parameters

      • url: string

        The URL of the media to set. If it starts with "storage://", it will load the media from the browser's storage.

      • loop: boolean = false

        Whether to loop the media.

      Returns Promise<void>

      A promise that resolves when the media is set.