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

    Function getTransceiversTrack

    • Get the transceiver track by index, waiting for the track to be available.

      Parameters

      • direction: "send" | "recv"

        The direction of the transceiver.

      • kind: "audio" | "video" | "screen"

        The kind of the track.

      • index: number = 0

        The index of the track.

      • retryTime: number = 1

        The time to retry in seconds.

      • timeout: number = 0

        The timeout in seconds. Set to 0 to wait indefinitely.

      Returns Promise<MediaStreamTrack>

      The track.