Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc

Issue 2380883003: Add interval estimator to remote bitrate estimator (Closed)
Patch Set: Rebased. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 TEST_F(DelayBasedBweTest, RateIncreaseReordering) { 123 TEST_F(DelayBasedBweTest, RateIncreaseReordering) {
124 RateIncreaseReorderingTestHelper(674840); 124 RateIncreaseReorderingTestHelper(674840);
125 } 125 }
126 126
127 TEST_F(DelayBasedBweTest, RateIncreaseRtpTimestamps) { 127 TEST_F(DelayBasedBweTest, RateIncreaseRtpTimestamps) {
128 RateIncreaseRtpTimestampsTestHelper(1240); 128 RateIncreaseRtpTimestampsTestHelper(1240);
129 } 129 }
130 130
131 TEST_F(DelayBasedBweTest, CapacityDropOneStream) { 131 TEST_F(DelayBasedBweTest, CapacityDropOneStream) {
132 CapacityDropTestHelper(1, false, 633, 0); 132 CapacityDropTestHelper(1, false, 567, 0);
133 } 133 }
134 134
135 TEST_F(DelayBasedBweTest, CapacityDropPosOffsetChange) { 135 TEST_F(DelayBasedBweTest, CapacityDropPosOffsetChange) {
136 CapacityDropTestHelper(1, false, 200, 30000); 136 CapacityDropTestHelper(1, false, 200, 30000);
137 } 137 }
138 138
139 TEST_F(DelayBasedBweTest, CapacityDropNegOffsetChange) { 139 TEST_F(DelayBasedBweTest, CapacityDropNegOffsetChange) {
140 CapacityDropTestHelper(1, false, 733, -30000); 140 CapacityDropTestHelper(1, false, 733, -30000);
141 } 141 }
142 142
143 TEST_F(DelayBasedBweTest, CapacityDropOneStreamWrap) { 143 TEST_F(DelayBasedBweTest, CapacityDropOneStreamWrap) {
144 CapacityDropTestHelper(1, true, 633, 0); 144 CapacityDropTestHelper(1, true, 567, 0);
145 } 145 }
146 146
147 TEST_F(DelayBasedBweTest, TestTimestampGrouping) { 147 TEST_F(DelayBasedBweTest, TestTimestampGrouping) {
148 TestTimestampGroupingTestHelper(); 148 TestTimestampGroupingTestHelper();
149 } 149 }
150 150
151 TEST_F(DelayBasedBweTest, TestShortTimeoutAndWrap) { 151 TEST_F(DelayBasedBweTest, TestShortTimeoutAndWrap) {
152 // Simulate a client leaving and rejoining the call after 35 seconds. This 152 // Simulate a client leaving and rejoining the call after 35 seconds. This
153 // will make abs send time wrap, so if streams aren't timed out properly 153 // will make abs send time wrap, so if streams aren't timed out properly
154 // the next 30 seconds of packets will be out of order. 154 // the next 30 seconds of packets will be out of order.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 189 }
190 190
191 TEST_F(DelayBasedBweExperimentTest, CapacityDropNegOffsetChange) { 191 TEST_F(DelayBasedBweExperimentTest, CapacityDropNegOffsetChange) {
192 CapacityDropTestHelper(1, false, 300, -30000); 192 CapacityDropTestHelper(1, false, 300, -30000);
193 } 193 }
194 194
195 TEST_F(DelayBasedBweExperimentTest, CapacityDropOneStreamWrap) { 195 TEST_F(DelayBasedBweExperimentTest, CapacityDropOneStreamWrap) {
196 CapacityDropTestHelper(1, true, 333, 0); 196 CapacityDropTestHelper(1, true, 333, 0);
197 } 197 }
198 } // namespace webrtc 198 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/congestion_controller/BUILD.gn ('k') | webrtc/modules/congestion_controller/probing_interval_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698