aboutsummaryrefslogtreecommitdiff
path: root/call/rtp_video_sender_unittest.cc
diff options
context:
space:
mode:
authorErik Språng <sprang@webrtc.org>2019-11-15 17:18:52 +0100
committerCommit Bot <commit-bot@chromium.org>2019-11-21 12:41:45 +0000
commit662678dbf73788d17127801f43d6d51f92acda09 (patch)
tree05fe4006273e7c518d28abd91819a43f7f426435 /call/rtp_video_sender_unittest.cc
parentac7fd8737515818d8f089c4b8bc4f41126afae31 (diff)
downloadwebrtc-662678dbf73788d17127801f43d6d51f92acda09.tar.gz
Adds injectable trials from peerconnection down to transport controller.
This will be immediately useful to guarantee consistent state across components referencing the pacer, but will be a net benefit overall imo. Bug: webrtc:10809 Change-Id: I49630696f757a832ccf2e4c8597193bf087ce53b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159885 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29859}
Diffstat (limited to 'call/rtp_video_sender_unittest.cc')
-rw-r--r--call/rtp_video_sender_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/call/rtp_video_sender_unittest.cc b/call/rtp_video_sender_unittest.cc
index 7df3a474b5..d453f45211 100644
--- a/call/rtp_video_sender_unittest.cc
+++ b/call/rtp_video_sender_unittest.cc
@@ -128,7 +128,8 @@ class RtpVideoSenderTestFixture {
nullptr,
bitrate_config_,
ProcessThread::Create("PacerThread"),
- task_queue_factory_.get()),
+ task_queue_factory_.get(),
+ &field_trials_),
process_thread_(ProcessThread::Create("test_thread")),
call_stats_(&clock_, process_thread_.get()),
stats_proxy_(&clock_,
@@ -171,6 +172,7 @@ class RtpVideoSenderTestFixture {
SendDelayStats send_delay_stats_;
BitrateConstraints bitrate_config_;
const std::unique_ptr<TaskQueueFactory> task_queue_factory_;
+ const FieldTrialBasedConfig field_trials_;
RtpTransportControllerSend transport_controller_;
std::unique_ptr<ProcessThread> process_thread_;
CallStats call_stats_;