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_SINGLE_
STREAM_H_ | 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SINGLE_
STREAM_H_ |
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SINGLE_
STREAM_H_ | 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SINGLE_
STREAM_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" | 17 #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" |
18 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" | 18 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" |
19 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/rate_statistics.h" |
20 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 20 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class RemoteBitrateEstimatorSingleStream : public RemoteBitrateEstimator { | 24 class RemoteBitrateEstimatorSingleStream : public RemoteBitrateEstimator { |
25 public: | 25 public: |
26 RemoteBitrateEstimatorSingleStream(RemoteBitrateObserver* observer, | 26 RemoteBitrateEstimatorSingleStream(RemoteBitrateObserver* observer, |
27 Clock* clock); | 27 Clock* clock); |
28 virtual ~RemoteBitrateEstimatorSingleStream(); | 28 virtual ~RemoteBitrateEstimatorSingleStream(); |
29 | 29 |
30 void IncomingPacket(int64_t arrival_time_ms, | 30 void IncomingPacket(int64_t arrival_time_ms, |
(...skipping 29 matching lines...) Expand all Loading... |
60 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; | 60 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; |
61 int64_t last_process_time_; | 61 int64_t last_process_time_; |
62 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get()); | 62 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get()); |
63 | 63 |
64 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream); | 64 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace webrtc | 67 } // namespace webrtc |
68 | 68 |
69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING
LE_STREAM_H_ | 69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING
LE_STREAM_H_ |
OLD | NEW |