2019-02-07 16:43:51 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
2019-03-22 12:34:25 +01:00
|
|
|
#ifndef API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
|
|
|
|
|
#define API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
|
2019-02-07 16:43:51 +01:00
|
|
|
|
|
|
|
|
#include <memory>
|
2019-03-22 12:34:25 +01:00
|
|
|
#include <string>
|
2019-02-07 16:43:51 +01:00
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
#include "api/test/audio_quality_analyzer_interface.h"
|
|
|
|
|
#include "api/test/peerconnection_quality_test_fixture.h"
|
|
|
|
|
#include "api/test/video_quality_analyzer_interface.h"
|
2019-02-07 16:43:51 +01:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
2019-03-20 11:11:08 +01:00
|
|
|
namespace webrtc_pc_e2e {
|
2019-02-07 16:43:51 +01:00
|
|
|
|
|
|
|
|
// API is in development. Can be changed/removed without notice.
|
|
|
|
|
// Create test fixture to establish test call between Alice and Bob.
|
|
|
|
|
// During the test Alice will be caller and Bob will answer the call.
|
2019-02-27 17:44:13 +01:00
|
|
|
// |test_case_name| is a name of test case, that will be used for all metrics
|
|
|
|
|
// reporting.
|
2019-02-07 16:43:51 +01:00
|
|
|
std::unique_ptr<PeerConnectionE2EQualityTestFixture>
|
|
|
|
|
CreatePeerConnectionE2EQualityTestFixture(
|
2019-02-27 17:44:13 +01:00
|
|
|
std::string test_case_name,
|
2019-02-20 16:16:54 +01:00
|
|
|
std::unique_ptr<AudioQualityAnalyzerInterface> audio_quality_analyzer,
|
|
|
|
|
std::unique_ptr<VideoQualityAnalyzerInterface> video_quality_analyzer);
|
2019-02-07 16:43:51 +01:00
|
|
|
|
2019-03-20 11:11:08 +01:00
|
|
|
} // namespace webrtc_pc_e2e
|
2019-02-07 16:43:51 +01:00
|
|
|
} // namespace webrtc
|
|
|
|
|
|
2019-03-22 12:34:25 +01:00
|
|
|
#endif // API_TEST_CREATE_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
|