| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_DELAY_BASED_BWE_H_ | 11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ |
| 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ | 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <utility> | 15 #include <utility> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/race_checker.h" |
| 18 #include "webrtc/modules/congestion_controller/median_slope_estimator.h" | 21 #include "webrtc/modules/congestion_controller/median_slope_estimator.h" |
| 19 #include "webrtc/modules/congestion_controller/probe_bitrate_estimator.h" | 22 #include "webrtc/modules/congestion_controller/probe_bitrate_estimator.h" |
| 20 #include "webrtc/modules/congestion_controller/trendline_estimator.h" | 23 #include "webrtc/modules/congestion_controller/trendline_estimator.h" |
| 21 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" | 24 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" |
| 22 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" | 25 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" |
| 23 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" | 26 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" |
| 24 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" | 27 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" |
| 25 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" | 28 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" |
| 26 #include "webrtc/rtc_base/checks.h" | |
| 27 #include "webrtc/rtc_base/constructormagic.h" | |
| 28 #include "webrtc/rtc_base/race_checker.h" | |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 | 31 |
| 32 class RtcEventLog; | 32 class RtcEventLog; |
| 33 | 33 |
| 34 class DelayBasedBwe { | 34 class DelayBasedBwe { |
| 35 public: | 35 public: |
| 36 static const int64_t kStreamTimeOutMs = 2000; | 36 static const int64_t kStreamTimeOutMs = 2000; |
| 37 | 37 |
| 38 struct Result { | 38 struct Result { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 uint32_t last_logged_bitrate_; | 87 uint32_t last_logged_bitrate_; |
| 88 BandwidthUsage last_logged_state_; | 88 BandwidthUsage last_logged_state_; |
| 89 bool in_sparse_update_experiment_; | 89 bool in_sparse_update_experiment_; |
| 90 | 90 |
| 91 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DelayBasedBwe); | 91 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DelayBasedBwe); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace webrtc | 94 } // namespace webrtc |
| 95 | 95 |
| 96 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ | 96 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_H_ |
| OLD | NEW |