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 |
11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTRO
LLER_H_ | 11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTRO
LLER_H_ |
12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTRO
LLER_H_ | 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CONTRO
LLER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/base/constructormagic.h" | 17 #include "webrtc/base/constructormagic.h" |
18 #include "webrtc/base/criticalsection.h" | 18 #include "webrtc/base/criticalsection.h" |
19 #include "webrtc/base/networkroute.h" | 19 #include "webrtc/base/networkroute.h" |
20 #include "webrtc/base/thread_checker.h" | 20 #include "webrtc/base/race_checker.h" |
21 #include "webrtc/common_types.h" | 21 #include "webrtc/common_types.h" |
22 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" | 22 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" |
23 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" | 23 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" |
24 #include "webrtc/modules/include/module.h" | 24 #include "webrtc/modules/include/module.h" |
25 #include "webrtc/modules/include/module_common_types.h" | 25 #include "webrtc/modules/include/module_common_types.h" |
26 #include "webrtc/modules/pacing/paced_sender.h" | 26 #include "webrtc/modules/pacing/paced_sender.h" |
27 #include "webrtc/modules/pacing/packet_router.h" | 27 #include "webrtc/modules/pacing/packet_router.h" |
28 | 28 |
29 namespace rtc { | 29 namespace rtc { |
30 struct SentPacket; | 30 struct SentPacket; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 157 |
158 rtc::ThreadChecker worker_thread_checker_; | 158 rtc::RaceChecker race_checker_; |
159 | 159 |
160 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); | 160 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); |
161 }; | 161 }; |
162 | 162 |
163 } // namespace webrtc | 163 } // namespace webrtc |
164 | 164 |
165 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON
TROLLER_H_ | 165 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON
TROLLER_H_ |
OLD | NEW |