From 06a6f3f818abab469bd5d07f1fc4f3e2895ec496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Mon, 25 Jul 2022 15:00:18 +0200 Subject: [PATCH] Make PrioritizedPacketQueue the default. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keeping the field trial around as a kill-switch for another milestone. Bug: webrtc:11340 Change-Id: I3285baefab176f541cbb5ed3bacbc669d3e8836f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269384 Commit-Queue: Erik Språng Reviewed-by: Philip Eliasson Cr-Commit-Position: refs/heads/main@{#37611} --- modules/pacing/pacing_controller.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/pacing/pacing_controller.cc b/modules/pacing/pacing_controller.cc index eee48d5c31..cdd908c9f8 100644 --- a/modules/pacing/pacing_controller.cc +++ b/modules/pacing/pacing_controller.cc @@ -48,10 +48,10 @@ bool IsEnabled(const FieldTrialsView& field_trials, absl::string_view key) { std::unique_ptr CreatePacketQueue( const FieldTrialsView& field_trials, Timestamp creation_time) { - if (field_trials.IsEnabled("WebRTC-Pacer-UsePrioritizedPacketQueue")) { - return std::make_unique(creation_time); + if (field_trials.IsDisabled("WebRTC-Pacer-UsePrioritizedPacketQueue")) { + return std::make_unique(creation_time); } - return std::make_unique(creation_time); + return std::make_unique(creation_time); } } // namespace