| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 TEST_F(DelayBasedBweTest, CapacityDropNegOffsetChange) { | 211 TEST_F(DelayBasedBweTest, CapacityDropNegOffsetChange) { |
| 212 CapacityDropTestHelper(1, false, 733, -30000); | 212 CapacityDropTestHelper(1, false, 733, -30000); |
| 213 } | 213 } |
| 214 | 214 |
| 215 TEST_F(DelayBasedBweTest, CapacityDropOneStreamWrap) { | 215 TEST_F(DelayBasedBweTest, CapacityDropOneStreamWrap) { |
| 216 CapacityDropTestHelper(1, true, 633, 0); | 216 CapacityDropTestHelper(1, true, 633, 0); |
| 217 } | 217 } |
| 218 | 218 |
| 219 TEST_F(DelayBasedBweTest, CapacityDropTwoStreamsWrap) { | 219 TEST_F(DelayBasedBweTest, CapacityDropTwoStreamsWrap) { |
| 220 CapacityDropTestHelper(2, true, 567, 0); | 220 CapacityDropTestHelper(2, true, 767, 0); |
| 221 } | 221 } |
| 222 | 222 |
| 223 TEST_F(DelayBasedBweTest, CapacityDropThreeStreamsWrap) { | 223 TEST_F(DelayBasedBweTest, CapacityDropThreeStreamsWrap) { |
| 224 CapacityDropTestHelper(3, true, 633, 0); | 224 CapacityDropTestHelper(3, true, 633, 0); |
| 225 } | 225 } |
| 226 | 226 |
| 227 TEST_F(DelayBasedBweTest, CapacityDropThirteenStreamsWrap) { | 227 TEST_F(DelayBasedBweTest, CapacityDropThirteenStreamsWrap) { |
| 228 CapacityDropTestHelper(13, true, 733, 0); | 228 CapacityDropTestHelper(13, true, 733, 0); |
| 229 } | 229 } |
| 230 | 230 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 248 } | 248 } |
| 249 | 249 |
| 250 TEST_F(DelayBasedBweTest, TestLongTimeoutAndWrap) { | 250 TEST_F(DelayBasedBweTest, TestLongTimeoutAndWrap) { |
| 251 // Simulate a client leaving and rejoining the call after some multiple of | 251 // Simulate a client leaving and rejoining the call after some multiple of |
| 252 // 64 seconds later. This will cause a zero difference in abs send times due | 252 // 64 seconds later. This will cause a zero difference in abs send times due |
| 253 // to the wrap, but a big difference in arrival time, if streams aren't | 253 // to the wrap, but a big difference in arrival time, if streams aren't |
| 254 // properly timed out. | 254 // properly timed out. |
| 255 TestWrappingHelper(10 * 64); | 255 TestWrappingHelper(10 * 64); |
| 256 } | 256 } |
| 257 } // namespace webrtc | 257 } // namespace webrtc |
| OLD | NEW |