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 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 void RateIncreaseRtpTimestampsTestHelper(int expected_iterations); | 157 void RateIncreaseRtpTimestampsTestHelper(int expected_iterations); |
158 void CapacityDropTestHelper(int number_of_streams, | 158 void CapacityDropTestHelper(int number_of_streams, |
159 bool wrap_time_stamp, | 159 bool wrap_time_stamp, |
160 uint32_t expected_bitrate_drop_delta, | 160 uint32_t expected_bitrate_drop_delta, |
161 int64_t receiver_clock_offset_change_ms); | 161 int64_t receiver_clock_offset_change_ms); |
162 | 162 |
163 static const uint32_t kDefaultSsrc; | 163 static const uint32_t kDefaultSsrc; |
164 | 164 |
165 SimulatedClock clock_; // Time at the receiver. | 165 SimulatedClock clock_; // Time at the receiver. |
166 test::TestBitrateObserver bitrate_observer_; | 166 test::TestBitrateObserver bitrate_observer_; |
| 167 std::unique_ptr<IncomingBitrateEstimator> incoming_bitrate_estimator_; |
167 std::unique_ptr<DelayBasedBwe> bitrate_estimator_; | 168 std::unique_ptr<DelayBasedBwe> bitrate_estimator_; |
168 std::unique_ptr<test::StreamGenerator> stream_generator_; | 169 std::unique_ptr<test::StreamGenerator> stream_generator_; |
169 int64_t arrival_time_offset_ms_; | 170 int64_t arrival_time_offset_ms_; |
170 bool first_update_; | 171 bool first_update_; |
171 | 172 |
172 RTC_DISALLOW_COPY_AND_ASSIGN(DelayBasedBweTest); | 173 RTC_DISALLOW_COPY_AND_ASSIGN(DelayBasedBweTest); |
173 }; | 174 }; |
174 } // namespace webrtc | 175 } // namespace webrtc |
175 | 176 |
176 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_UNITTEST_HELPER_
H_ | 177 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_DELAY_BASED_BWE_UNITTEST_HELPER_
H_ |
OLD | NEW |