mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 22:00:47 +01:00

Add ability to provide custom implementation of NetworkSimulatedInterface for sender and receiver network in VideoQualityTestFixtureInterface, passing them to the factory method. Also unite this mechanism with FecControllerFactoryInterface injection. Bug: webrtc:9630 Change-Id: I79259113e0fc00d933b73ca299afa836a4cd19d2 Reviewed-on: https://webrtc-review.googlesource.com/96280 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24476}
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) 2018 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.
|
|
*/
|
|
#ifndef API_TEST_CREATE_VIDEO_QUALITY_TEST_FIXTURE_H_
|
|
#define API_TEST_CREATE_VIDEO_QUALITY_TEST_FIXTURE_H_
|
|
|
|
#include <memory>
|
|
|
|
#include "api/fec_controller.h"
|
|
#include "api/test/video_quality_test_fixture.h"
|
|
|
|
namespace webrtc {
|
|
|
|
std::unique_ptr<VideoQualityTestFixtureInterface>
|
|
CreateVideoQualityTestFixture();
|
|
|
|
std::unique_ptr<VideoQualityTestFixtureInterface>
|
|
CreateVideoQualityTestFixture(
|
|
std::unique_ptr<FecControllerFactoryInterface> fec_controller_factory);
|
|
|
|
std::unique_ptr<VideoQualityTestFixtureInterface> CreateVideoQualityTestFixture(
|
|
std::unique_ptr<VideoQualityTestFixtureInterface::InjectionComponents>
|
|
components);
|
|
} // namespace webrtc
|
|
|
|
#endif // API_TEST_CREATE_VIDEO_QUALITY_TEST_FIXTURE_H_
|