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

    Function setMediaFromStorage

    • It sets the media to the fake stream manager and plays it from the browser's storage.

      Parameters

      • indexOrName: string | number

        The index or name (or part of the name) of the media to set.

      • loop: boolean = false

        Whether to loop the media.

      Returns Promise<void>

      A promise that resolves when the media is set.