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

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

Issue 2752353003: Potential race-condition resolution in CongestionController::min_bitrate_bps_ (Closed)
Patch Set: Created 3 years, 9 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 | « webrtc/modules/congestion_controller/congestion_controller.cc ('k') | no next file » | 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 Observer* const observer_; 182 Observer* const observer_;
183 RtcEventLog* const event_log_; 183 RtcEventLog* const event_log_;
184 PacketRouter* const packet_router_; 184 PacketRouter* const packet_router_;
185 const std::unique_ptr<PacedSender> pacer_; 185 const std::unique_ptr<PacedSender> pacer_;
186 const std::unique_ptr<BitrateController> bitrate_controller_; 186 const std::unique_ptr<BitrateController> bitrate_controller_;
187 const std::unique_ptr<ProbeController> probe_controller_; 187 const std::unique_ptr<ProbeController> probe_controller_;
188 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 188 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
189 WrappingBitrateEstimator remote_bitrate_estimator_; 189 WrappingBitrateEstimator remote_bitrate_estimator_;
190 RemoteEstimatorProxy remote_estimator_proxy_; 190 RemoteEstimatorProxy remote_estimator_proxy_;
191 TransportFeedbackAdapter transport_feedback_adapter_; 191 TransportFeedbackAdapter transport_feedback_adapter_;
192 int min_bitrate_bps_;
193 int max_bitrate_bps_;
194 rtc::CriticalSection network_state_lock_; 192 rtc::CriticalSection network_state_lock_;
195 uint32_t last_reported_bitrate_bps_ GUARDED_BY(network_state_lock_); 193 uint32_t last_reported_bitrate_bps_ GUARDED_BY(network_state_lock_);
196 uint8_t last_reported_fraction_loss_ GUARDED_BY(network_state_lock_); 194 uint8_t last_reported_fraction_loss_ GUARDED_BY(network_state_lock_);
197 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_); 195 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_);
198 NetworkState network_state_ GUARDED_BY(network_state_lock_); 196 NetworkState network_state_ GUARDED_BY(network_state_lock_);
199 rtc::CriticalSection bwe_lock_; 197 rtc::CriticalSection bwe_lock_;
198 int min_bitrate_bps_ GUARDED_BY(bwe_lock_);
200 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); 199 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_);
201 200
202 rtc::ThreadChecker worker_thread_checker_; 201 rtc::ThreadChecker worker_thread_checker_;
203 202
204 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 203 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
205 }; 204 };
206 205
207 } // namespace webrtc 206 } // namespace webrtc
208 207
209 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 208 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/congestion_controller/congestion_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698