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 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 EXCLUSIVE_LOCKS_REQUIRED(&crit_); | 117 EXCLUSIVE_LOCKS_REQUIRED(&crit_); |
118 | 118 |
119 void TimeoutStreams(int64_t now_ms) EXCLUSIVE_LOCKS_REQUIRED(&crit_); | 119 void TimeoutStreams(int64_t now_ms) EXCLUSIVE_LOCKS_REQUIRED(&crit_); |
120 | 120 |
121 rtc::ThreadChecker network_thread_; | 121 rtc::ThreadChecker network_thread_; |
122 RemoteBitrateObserver* const observer_; | 122 RemoteBitrateObserver* const observer_; |
123 std::unique_ptr<InterArrival> inter_arrival_; | 123 std::unique_ptr<InterArrival> inter_arrival_; |
124 std::unique_ptr<OveruseEstimator> estimator_; | 124 std::unique_ptr<OveruseEstimator> estimator_; |
125 OveruseDetector detector_; | 125 OveruseDetector detector_; |
126 RateStatistics incoming_bitrate_; | 126 RateStatistics incoming_bitrate_; |
| 127 bool incoming_bitrate_initialized_; |
127 std::vector<int> recent_propagation_delta_ms_; | 128 std::vector<int> recent_propagation_delta_ms_; |
128 std::vector<int64_t> recent_update_time_ms_; | 129 std::vector<int64_t> recent_update_time_ms_; |
129 std::list<Probe> probes_; | 130 std::list<Probe> probes_; |
130 size_t total_probes_received_; | 131 size_t total_probes_received_; |
131 int64_t first_packet_time_ms_; | 132 int64_t first_packet_time_ms_; |
132 int64_t last_update_ms_; | 133 int64_t last_update_ms_; |
133 | 134 |
134 rtc::CriticalSection crit_; | 135 rtc::CriticalSection crit_; |
135 Ssrcs ssrcs_ GUARDED_BY(&crit_); | 136 Ssrcs ssrcs_ GUARDED_BY(&crit_); |
136 AimdRateControl remote_rate_ GUARDED_BY(&crit_); | 137 AimdRateControl remote_rate_ GUARDED_BY(&crit_); |
137 | 138 |
138 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); | 139 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorAbsSendTime); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace webrtc | 142 } // namespace webrtc |
142 | 143 |
143 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ | 144 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_ABS_
SEND_TIME_H_ |
OLD | NEW |