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

Unified Diff: webrtc/video/full_stack_tests.cc

Issue 2681683003: Added Vp9 simulcast tests. (Closed)
Patch Set: Implemented sprang@ comments Created 3 years, 10 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/video/full_stack_tests.cc
diff --git a/webrtc/video/full_stack_tests.cc b/webrtc/video/full_stack_tests.cc
index c7f9fc1be1a5ced242361eda6e54c19245725856..c6e05a4c49527904e8d2f5d8f82d9374be81a118 100644
--- a/webrtc/video/full_stack_tests.cc
+++ b/webrtc/video/full_stack_tests.cc
@@ -360,6 +360,48 @@ TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) {
screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1};
RunTest(screenshare);
}
+
+TEST_F(FullStackTest, SimulcastVP9_3SL_High) {
sprang_webrtc 2017/02/10 10:34:27 Rename these VP9 SVC instead.
ilnik 2017/02/10 10:50:46 Done.
+ VideoQualityTest::Params simulcast;
+ simulcast.call.send_side_bwe = true;
+ simulcast.video = {true, 1280, 720, 50,
+ 800000, 2500000, 2500000, false,
+ "VP9", 1, 0, 400000,
+ false, false, "", "ConferenceMotion_1280_720_50"};
+ simulcast.analyzer = {"simulcast_vp9_3sl_high", 0.0, 0.0,
+ kFullStackTestDurationSecs};
+ simulcast.logs = false;
+ simulcast.ss = {std::vector<VideoStream>(), 0, 3, 2};
+ RunTest(simulcast);
+}
+
+TEST_F(FullStackTest, SimulcastVP9_3SL_Medium) {
+ VideoQualityTest::Params simulcast;
+ simulcast.call.send_side_bwe = true;
+ simulcast.video = {true, 1280, 720, 50,
+ 800000, 2500000, 2500000, false,
+ "VP9", 1, 0, 400000,
+ false, false, "", "ConferenceMotion_1280_720_50"};
+ simulcast.analyzer = {"simulcast_vp9_3sl_medium", 0.0, 0.0,
+ kFullStackTestDurationSecs};
+ simulcast.logs = false;
+ simulcast.ss = {std::vector<VideoStream>(), 0, 3, 1};
+ RunTest(simulcast);
+}
+
+TEST_F(FullStackTest, SimulcastVP9_3SL_Low) {
+ VideoQualityTest::Params simulcast;
+ simulcast.call.send_side_bwe = true;
+ simulcast.video = {true, 1280, 720, 50,
+ 800000, 2500000, 2500000, false,
+ "VP9", 1, 0, 400000,
+ false, false, "", "ConferenceMotion_1280_720_50"};
+ simulcast.analyzer = {"simulcast_vp9_3sl_low", 0.0, 0.0,
+ kFullStackTestDurationSecs};
+ simulcast.logs = false;
+ simulcast.ss = {std::vector<VideoStream>(), 0, 3, 0};
+ RunTest(simulcast);
+}
#endif // !defined(RTC_DISABLE_VP9)
TEST_F(FullStackTest, SimulcastVP8_3SL_High) {
@@ -369,7 +411,7 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_High) {
800000, 2500000, 2500000, false,
"VP8", 1, 0, 400000,
false, false, "", "ConferenceMotion_1280_720_50"};
- simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0,
+ simulcast.analyzer = {"simulcast_vp8_3sl_high", 0.0, 0.0,
kFullStackTestDurationSecs};
simulcast.pipe.loss_percent = 0;
simulcast.pipe.queue_delay_ms = 100;
@@ -406,7 +448,7 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) {
800000, 2500000, 2500000, false,
"VP8", 1, 0, 400000,
false, false, "", "ConferenceMotion_1280_720_50"};
- simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0,
+ simulcast.analyzer = {"simulcast_vp8_3sl_medium", 0.0, 0.0,
kFullStackTestDurationSecs};
simulcast.pipe.loss_percent = 0;
simulcast.pipe.queue_delay_ms = 100;
@@ -443,7 +485,7 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Low) {
800000, 2500000, 2500000, false,
"VP8", 1, 0, 400000,
false, false, "", "ConferenceMotion_1280_720_50"};
- simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0,
+ simulcast.analyzer = {"simulcast_vp8_3sl_low", 0.0, 0.0,
kFullStackTestDurationSecs};
simulcast.pipe.loss_percent = 0;
simulcast.pipe.queue_delay_ms = 100;

Powered by Google App Engine
This is Rietveld 408576698