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

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

Issue 2714503002: Perform probing on network route change. (Closed)
Patch Set: Created 3 years, 10 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
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bool IsSendQueueFull() const; 161 bool IsSendQueueFull() const;
162 bool IsNetworkDown() const; 162 bool IsNetworkDown() const;
163 bool HasNetworkParametersToReportChanged(uint32_t bitrate_bps, 163 bool HasNetworkParametersToReportChanged(uint32_t bitrate_bps,
164 uint8_t fraction_loss, 164 uint8_t fraction_loss,
165 int64_t rtt); 165 int64_t rtt);
166 Clock* const clock_; 166 Clock* const clock_;
167 Observer* const observer_; 167 Observer* const observer_;
168 PacketRouter* const packet_router_; 168 PacketRouter* const packet_router_;
169 const std::unique_ptr<PacedSender> pacer_; 169 const std::unique_ptr<PacedSender> pacer_;
170 const std::unique_ptr<BitrateController> bitrate_controller_; 170 const std::unique_ptr<BitrateController> bitrate_controller_;
171 const std::unique_ptr<ProbeController> probe_controller_; 171 std::unique_ptr<ProbeController> probe_controller_;
172 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 172 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
173 WrappingBitrateEstimator remote_bitrate_estimator_; 173 WrappingBitrateEstimator remote_bitrate_estimator_;
174 RemoteEstimatorProxy remote_estimator_proxy_; 174 RemoteEstimatorProxy remote_estimator_proxy_;
175 TransportFeedbackAdapter transport_feedback_adapter_; 175 TransportFeedbackAdapter transport_feedback_adapter_;
176 int min_bitrate_bps_; 176 int min_bitrate_bps_;
177 int max_bitrate_bps_; 177 int max_bitrate_bps_;
178 rtc::CriticalSection critsect_; 178 rtc::CriticalSection critsect_;
179 uint32_t last_reported_bitrate_bps_ GUARDED_BY(critsect_); 179 uint32_t last_reported_bitrate_bps_ GUARDED_BY(critsect_);
180 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); 180 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_);
181 int64_t last_reported_rtt_ GUARDED_BY(critsect_); 181 int64_t last_reported_rtt_ GUARDED_BY(critsect_);
182 NetworkState network_state_ GUARDED_BY(critsect_); 182 NetworkState network_state_ GUARDED_BY(critsect_);
183 183
184 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 184 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
185 }; 185 };
186 186
187 } // namespace webrtc 187 } // namespace webrtc
188 188
189 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 189 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698