OLD | NEW |
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 Loading... |
147 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 147 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
148 TransportFeedbackAdapter transport_feedback_adapter_; | 148 TransportFeedbackAdapter transport_feedback_adapter_; |
149 rtc::CriticalSection network_state_lock_; | 149 rtc::CriticalSection network_state_lock_; |
150 uint32_t last_reported_bitrate_bps_ GUARDED_BY(network_state_lock_); | 150 uint32_t last_reported_bitrate_bps_ GUARDED_BY(network_state_lock_); |
151 uint8_t last_reported_fraction_loss_ GUARDED_BY(network_state_lock_); | 151 uint8_t last_reported_fraction_loss_ GUARDED_BY(network_state_lock_); |
152 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_); | 152 int64_t last_reported_rtt_ GUARDED_BY(network_state_lock_); |
153 NetworkState network_state_ GUARDED_BY(network_state_lock_); | 153 NetworkState network_state_ GUARDED_BY(network_state_lock_); |
154 rtc::CriticalSection bwe_lock_; | 154 rtc::CriticalSection bwe_lock_; |
155 int min_bitrate_bps_ GUARDED_BY(bwe_lock_); | 155 int min_bitrate_bps_ GUARDED_BY(bwe_lock_); |
156 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); | 156 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); |
| 157 bool was_in_alr_; |
157 | 158 |
158 rtc::RaceChecker worker_race_; | 159 rtc::RaceChecker worker_race_; |
159 | 160 |
160 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); | 161 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace webrtc | 164 } // namespace webrtc |
164 | 165 |
165 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON
TROLLER_H_ | 166 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON
TROLLER_H_ |
OLD | NEW |