From 662678dbf73788d17127801f43d6d51f92acda09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Fri, 15 Nov 2019 17:18:52 +0100 Subject: Adds injectable trials from peerconnection down to transport controller. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Commit-Queue: Erik Språng Cr-Commit-Position: refs/heads/master@{#29859} --- call/rtp_video_sender_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'call/rtp_video_sender_unittest.cc') 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 task_queue_factory_; + const FieldTrialBasedConfig field_trials_; RtpTransportControllerSend transport_controller_; std::unique_ptr process_thread_; CallStats call_stats_; -- cgit v1.2.3