Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: modules/congestion_controller/include/send_side_congestion_controller.h

Issue 3004783002: Push back on the video encoder to avoid building queues in the pacer. (Closed)
Patch Set: Rebase Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/congestion_controller/send_side_congestion_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 bool pacer_paused_; 147 bool pacer_paused_;
148 rtc::CriticalSection bwe_lock_; 148 rtc::CriticalSection bwe_lock_;
149 int min_bitrate_bps_ RTC_GUARDED_BY(bwe_lock_); 149 int min_bitrate_bps_ RTC_GUARDED_BY(bwe_lock_);
150 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ RTC_GUARDED_BY(bwe_lock_); 150 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ RTC_GUARDED_BY(bwe_lock_);
151 bool in_cwnd_experiment_; 151 bool in_cwnd_experiment_;
152 int64_t accepted_queue_ms_; 152 int64_t accepted_queue_ms_;
153 bool was_in_alr_; 153 bool was_in_alr_;
154 154
155 rtc::RaceChecker worker_race_; 155 rtc::RaceChecker worker_race_;
156 156
157 bool pacer_pushback_experiment_ = false;
158 float encoding_rate_ = 1.0;
159
157 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); 160 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController);
158 }; 161 };
159 162
160 } // namespace webrtc 163 } // namespace webrtc
161 164
162 #endif // MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTROLLER _H_ 165 #endif // MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTROLLER _H_
OLDNEW
« no previous file with comments | « no previous file | modules/congestion_controller/send_side_congestion_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698