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

    Function runQuestionAnswerTest

    • Run a question answer test getting the send and recv tracks from the running transceivers.

      Parameters

      • mediaFiles: string[]

        The media files to use for the test. It can be an array of URLs or an array of storage names or parts of the names.

      • sendTrackIndex: number = 0

        The index of the send track. Use this to get a specific send track from the running transceivers.

      • recvTrackIndex: number = 0

        The index of the recv track. Use this to get a specific recv track from the running transceivers.

      • OptionalendTestCallback: (stats: QuestionAnswerStats[]) => void

        The callback called when the test ends.

      Returns Promise<{ stats: QuestionAnswerStats[]; stop: undefined | (() => void) }>

      The stop function to interrupt the test and the collected stats.