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

Unified Diff: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc

Issue 1237303002: Modified Simulation Framework Jitter Model (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated Jitter expected value to suit the truncated gaussian Created 5 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
index 5c147d683b9597ec8b07ae2d5b8fe33d492109a1..044e43424b98c82a83c2aa20d65c497f953a2db6 100644
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
@@ -124,7 +124,7 @@ TEST_P(DefaultBweTest, SteadyJitter) {
JitterFilter jitter(&uplink_, 0);
RateCounterFilter counter(&uplink_, 0, "");
PacketReceiver receiver(&uplink_, 0, GetParam(), false, false);
- jitter.SetJitter(20);
+ jitter.SetMaxJitter(20);
RunFor(2 * 60 * 1000);
}
@@ -134,7 +134,7 @@ TEST_P(DefaultBweTest, IncreasingJitter1) {
JitterFilter jitter(&uplink_, 0);
PacketReceiver receiver(&uplink_, 0, GetParam(), false, false);
for (int i = 0; i < 2 * 60 * 2; ++i) {
- jitter.SetJitter(i);
+ jitter.SetMaxJitter(i);
RunFor(10 * 1000);
}
RunFor(10 * 60 * 1000);
@@ -147,10 +147,10 @@ TEST_P(DefaultBweTest, IncreasingJitter2) {
PacketReceiver receiver(&uplink_, 0, GetParam(), false, false);
RunFor(30 * 1000);
for (int i = 1; i < 51; ++i) {
- jitter.SetJitter(10.0f * i);
+ jitter.SetMaxJitter(10.0f * i);
RunFor(10 * 1000);
}
- jitter.SetJitter(0.0f);
+ jitter.SetMaxJitter(0.0f);
RunFor(10 * 60 * 1000);
}
@@ -232,7 +232,7 @@ TEST_P(DefaultBweTest, Multi2) {
RateCounterFilter counter(&uplink_, 0, "");
PacketReceiver receiver(&uplink_, 0, GetParam(), false, false);
choke.set_capacity_kbps(2000);
- jitter.SetJitter(120);
+ jitter.SetMaxJitter(120);
RunFor(5 * 60 * 1000);
}
« no previous file with comments | « no previous file | webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698