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 <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
20 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" | 20 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" |
21 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" | 21 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" |
22 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" | 22 #include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h" |
23 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" | 23 #include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h" |
24 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" | 24 #include "webrtc/modules/remote_bitrate_estimator/overuse_estimator.h" |
25 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" | 25 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" |
26 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 26 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
30 struct Probe { | 30 struct Probe { |
31 Probe(int64_t send_time_ms, int64_t recv_time_ms, size_t payload_size) | 31 Probe(int64_t send_time_ms, int64_t recv_time_ms, size_t payload_size) |
32 : send_time_ms(send_time_ms), | 32 : send_time_ms(send_time_ms), |
33 recv_time_ms(recv_time_ms), | 33 recv_time_ms(recv_time_ms), |
34 payload_size(payload_size) {} | 34 payload_size(payload_size) {} |
35 int64_t send_time_ms; | 35 int64_t send_time_ms; |
36 int64_t recv_time_ms; | 36 int64_t recv_time_ms; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 std::list<Probe> probes_; | 145 std::list<Probe> probes_; |
146 size_t total_probes_received_; | 146 size_t total_probes_received_; |
147 int64_t first_packet_time_ms_; | 147 int64_t first_packet_time_ms_; |
148 | 148 |
149 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); | 149 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace webrtc | 152 } // namespace webrtc |
153 | 153 |
154 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ | 154 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ |
OLD | NEW |