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

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

Issue 2998753002: Make the acceptable queue in the cwnd experiment configurable. (Closed)
Patch Set: Created 3 years, 4 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 | webrtc/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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_); 153 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_);
154 NetworkState network_state_ GUARDED_BY(network_state_lock_); 154 NetworkState network_state_ GUARDED_BY(network_state_lock_);
155 bool pause_pacer_ GUARDED_BY(network_state_lock_); 155 bool pause_pacer_ GUARDED_BY(network_state_lock_);
156 // Duplicate the pacer paused state to avoid grabbing a lock when 156 // Duplicate the pacer paused state to avoid grabbing a lock when
157 // pausing the pacer. This can be removed when we move this class 157 // pausing the pacer. This can be removed when we move this class
158 // over to the task queue. 158 // over to the task queue.
159 bool pacer_paused_; 159 bool pacer_paused_;
160 rtc::CriticalSection bwe_lock_; 160 rtc::CriticalSection bwe_lock_;
161 int min_bitrate_bps_ GUARDED_BY(bwe_lock_); 161 int min_bitrate_bps_ GUARDED_BY(bwe_lock_);
162 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); 162 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_);
163 const bool in_cwnd_experiment_; 163 bool in_cwnd_experiment_;
164 int64_t accepted_queue_ms_;
164 bool was_in_alr_; 165 bool was_in_alr_;
165 166
166 rtc::RaceChecker worker_race_; 167 rtc::RaceChecker worker_race_;
167 168
168 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); 169 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController);
169 }; 170 };
170 171
171 } // namespace webrtc 172 } // namespace webrtc
172 173
173 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON TROLLER_H_ 174 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON TROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/send_side_congestion_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698