Allows injection of network controller factory in test fixture.
Bug: webrtc:9155 Change-Id: I929c4cde66ad6743b4a8df2df3abfa7593992977 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134645 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27843}
This commit is contained in:
committed by
Commit Bot
parent
6cb6f08b13
commit
1391ed242a
@ -196,6 +196,7 @@ rtc_source_set("video_quality_test_fixture_api") {
|
||||
"../call:rtp_interfaces",
|
||||
"../test:test_common",
|
||||
"../test:video_test_common",
|
||||
"transport:network_control",
|
||||
"video_codecs:video_codecs_api",
|
||||
]
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include "api/media_types.h"
|
||||
#include "api/network_state_predictor.h"
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/transport/network_control.h"
|
||||
#include "api/video_codecs/video_encoder_config.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -123,6 +124,8 @@ class VideoQualityTestFixtureInterface {
|
||||
std::unique_ptr<FecControllerFactoryInterface> fec_controller_factory;
|
||||
std::unique_ptr<NetworkStatePredictorFactoryInterface>
|
||||
network_state_predictor_factory;
|
||||
std::unique_ptr<NetworkControllerFactoryInterface>
|
||||
network_controller_factory;
|
||||
};
|
||||
|
||||
virtual ~VideoQualityTestFixtureInterface() = default;
|
||||
|
||||
Reference in New Issue
Block a user