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

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

Issue 2644463009: New simulators to test BWE at low bitrates (15-50kbps range). (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc
index b671a13dbd1d9de5937864f260406b2ff777840d..485f7522a0ef54d29c401b19fe55e013361d17b9 100644
--- a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc
+++ b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc
@@ -178,6 +178,36 @@ TEST_P(BweSimulation, Choke200kbps30kbps200kbps) {
RunFor(60 * 1000);
}
+TEST_P(BweSimulation, PacerChoke50kbps15kbps50kbps) {
+ AdaptiveVideoSource source(0, 30, 300, 0, 0);
+ PacedVideoSender sender(&uplink_, &source, GetParam());
+ ChokeFilter filter(&uplink_, 0);
+ RateCounterFilter counter(&uplink_, 0, "Receiver", bwe_names[GetParam()]);
+ PacketReceiver receiver(&uplink_, 0, GetParam(), true, true);
+ filter.set_capacity_kbps(50);
+ filter.set_max_delay_ms(500);
+ RunFor(60 * 1000);
+ filter.set_capacity_kbps(15);
+ RunFor(60 * 1000);
+ filter.set_capacity_kbps(50);
+ RunFor(60 * 1000);
+}
+
+TEST_P(BweSimulation, Choke50kbps15kbps50kbps) {
+ AdaptiveVideoSource source(0, 30, 300, 0, 0);
+ VideoSender sender(&uplink_, &source, GetParam());
+ ChokeFilter filter(&uplink_, 0);
+ RateCounterFilter counter(&uplink_, 0, "Receiver", bwe_names[GetParam()]);
+ PacketReceiver receiver(&uplink_, 0, GetParam(), true, true);
+ filter.set_capacity_kbps(50);
+ filter.set_max_delay_ms(500);
+ RunFor(60 * 1000);
+ filter.set_capacity_kbps(15);
+ RunFor(60 * 1000);
+ filter.set_capacity_kbps(50);
+ RunFor(60 * 1000);
+}
+
TEST_P(BweSimulation, GoogleWifiTrace3Mbps) {
AdaptiveVideoSource source(0, 30, 300, 0, 0);
VideoSender sender(&uplink_, &source, GetParam());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698