OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_SEN
D_TIME_H_ | 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_SEN
D_TIME_H_ |
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_SEN
D_TIME_H_ | 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_SEN
D_TIME_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
| 19 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/constructormagic.h" |
| 21 #include "webrtc/base/criticalsection.h" |
| 22 #include "webrtc/base/rate_statistics.h" |
| 23 #include "webrtc/base/thread_checker.h" |
19 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" | 24 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" |
20 #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" |
21 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" | 26 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" |
22 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" | 27 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" |
23 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" | 28 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" |
24 #include "webrtc/rtc_base/checks.h" | |
25 #include "webrtc/rtc_base/constructormagic.h" | |
26 #include "webrtc/rtc_base/criticalsection.h" | |
27 #include "webrtc/rtc_base/rate_statistics.h" | |
28 #include "webrtc/rtc_base/thread_checker.h" | |
29 | 29 |
30 namespace webrtc { | 30 namespace webrtc { |
31 | 31 |
32 struct Probe { | 32 struct Probe { |
33 Probe(int64_t send_time_ms, int64_t recv_time_ms, size_t payload_size) | 33 Probe(int64_t send_time_ms, int64_t recv_time_ms, size_t payload_size) |
34 : send_time_ms(send_time_ms), | 34 : send_time_ms(send_time_ms), |
35 recv_time_ms(recv_time_ms), | 35 recv_time_ms(recv_time_ms), |
36 payload_size(payload_size) {} | 36 payload_size(payload_size) {} |
37 int64_t send_time_ms; | 37 int64_t send_time_ms; |
38 int64_t recv_time_ms; | 38 int64_t recv_time_ms; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 rtc::CriticalSection crit_; | 132 rtc::CriticalSection crit_; |
133 Ssrcs ssrcs_ GUARDED_BY(&crit_); | 133 Ssrcs ssrcs_ GUARDED_BY(&crit_); |
134 AimdRateControl remote_rate_ GUARDED_BY(&crit_); | 134 AimdRateControl remote_rate_ GUARDED_BY(&crit_); |
135 | 135 |
136 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); | 136 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); |
137 }; | 137 }; |
138 | 138 |
139 } // namespace webrtc | 139 } // namespace webrtc |
140 | 140 |
141 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ | 141 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ |
OLD | NEW |