Index: webrtc/video/full_stack_tests.cc |
diff --git a/webrtc/video/full_stack_tests.cc b/webrtc/video/full_stack_tests.cc |
index c42d48f94d7e86572f6e016e859c87bb015040fa..c7f9fc1be1a5ced242361eda6e54c19245725856 100644 |
--- a/webrtc/video/full_stack_tests.cc |
+++ b/webrtc/video/full_stack_tests.cc |
@@ -362,4 +362,115 @@ |
} |
#endif // !defined(RTC_DISABLE_VP9) |
+TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
+ VideoQualityTest::Params simulcast; |
+ simulcast.call.send_side_bwe = true; |
+ simulcast.video = {true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, |
+ kFullStackTestDurationSecs}; |
+ simulcast.pipe.loss_percent = 0; |
+ simulcast.pipe.queue_delay_ms = 100; |
+ VideoQualityTest::Params video_params_high; |
+ video_params_high.video = { |
+ true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_medium; |
+ video_params_medium.video = { |
+ true, 640, 360, 50, |
+ 150000, 500000, 700000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_low; |
+ video_params_low.video = { |
+ true, 320, 180, 50, |
+ 30000, 150000, 200000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ |
+ std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
+ DefaultVideoStream(video_params_medium), |
+ DefaultVideoStream(video_params_high)}; |
+ simulcast.ss = {streams, 2, 1, 0}; |
+ RunTest(simulcast); |
+} |
+ |
+TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
+ VideoQualityTest::Params simulcast; |
+ simulcast.call.send_side_bwe = true; |
+ simulcast.video = {true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, |
+ kFullStackTestDurationSecs}; |
+ simulcast.pipe.loss_percent = 0; |
+ simulcast.pipe.queue_delay_ms = 100; |
+ VideoQualityTest::Params video_params_high; |
+ video_params_high.video = { |
+ true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_medium; |
+ video_params_medium.video = { |
+ true, 640, 360, 50, |
+ 150000, 500000, 700000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_low; |
+ video_params_low.video = { |
+ true, 320, 180, 50, |
+ 30000, 150000, 200000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ |
+ std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
+ DefaultVideoStream(video_params_medium), |
+ DefaultVideoStream(video_params_high)}; |
+ simulcast.ss = {streams, 1, 1, 0}; |
+ RunTest(simulcast); |
+} |
+ |
+TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
+ VideoQualityTest::Params simulcast; |
+ simulcast.call.send_side_bwe = true; |
+ simulcast.video = {true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, |
+ kFullStackTestDurationSecs}; |
+ simulcast.pipe.loss_percent = 0; |
+ simulcast.pipe.queue_delay_ms = 100; |
+ VideoQualityTest::Params video_params_high; |
+ video_params_high.video = { |
+ true, 1280, 720, 50, |
+ 800000, 2500000, 2500000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_medium; |
+ video_params_medium.video = { |
+ true, 640, 360, 50, |
+ 150000, 500000, 700000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ VideoQualityTest::Params video_params_low; |
+ video_params_low.video = { |
+ true, 320, 180, 50, |
+ 30000, 150000, 200000, false, |
+ "VP8", 1, 0, 400000, |
+ false, false, "", "ConferenceMotion_1280_720_50"}; |
+ |
+ std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
+ DefaultVideoStream(video_params_medium), |
+ DefaultVideoStream(video_params_high)}; |
+ simulcast.ss = {streams, 0, 1, 0}; |
+ RunTest(simulcast); |
+} |
+ |
} // namespace webrtc |