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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc

Issue 1202253003: More Simulation Framework features (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed [4] 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
Index: webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
index 86e8cb06262a2f2e105ad036de6ffdc72c39561b..bdf29c9ed7c9640e7e310798b9fcb3560b5eed15 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
@@ -269,11 +269,11 @@ void BweTest::RunFairnessTest(BandwidthEstimatorType bwe_type,
senders.push_back(new TcpSender(&uplink_, tcp_flow, kTcpStartOffsetMs));
ChokeFilter choke(&uplink_, all_flow_ids);
- choke.SetCapacity(capacity_kbps);
- choke.SetMaxDelay(max_delay_ms);
+ choke.set_capacity_kbps(capacity_kbps);
+ choke.set_max_delay_ms(max_delay_ms);
DelayFilter delay_uplink(&uplink_, all_flow_ids);
- delay_uplink.SetDelayMs(25);
+ delay_uplink.SetOneWayDelayMs(25);
std::vector<RateCounterFilter*> rate_counters;
for (int flow : all_flow_ids) {
@@ -296,7 +296,7 @@ void BweTest::RunFairnessTest(BandwidthEstimatorType bwe_type,
}
DelayFilter delay_downlink(&downlink_, all_flow_ids);
- delay_downlink.SetDelayMs(25);
+ delay_downlink.SetOneWayDelayMs(25);
RunFor(run_time_seconds * 1000);

Powered by Google App Engine
This is Rietveld 408576698