Chromium Code Reviews| Index: webrtc/video/full_stack_tests.cc |
| diff --git a/webrtc/video/full_stack_tests.cc b/webrtc/video/full_stack_tests.cc |
| index f1d115005c2d9896cf910a3a8d4a51096bfec28b..b19aac97a9cf3251f41fd17dc83fe6b32f025903 100644 |
| --- a/webrtc/video/full_stack_tests.cc |
| +++ b/webrtc/video/full_stack_tests.cc |
| @@ -345,4 +345,98 @@ TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { |
| } |
| #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, 30000, 3000000, 3000000, 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 = 1; |
|
sprang_webrtc
2017/02/01 14:50:19
I'm thinking we should start out without packet lo
ilnik
2017/02/01 15:12:50
Done.
|
| + simulcast.pipe.queue_delay_ms = 100; |
| + // Needs high enough bandwidth for high-bitrate stream to be not dropped |
|
sprang_webrtc
2017/02/01 14:50:20
nit: End comments with period.
ilnik
2017/02/01 15:12:50
Done.
|
| + simulcast.pipe.link_capacity_kbps = 3000; |
|
sprang_webrtc
2017/02/01 14:50:19
Or even don't set this so it's unrestricted?
ilnik
2017/02/01 15:12:50
Great idea. Will do that.
|
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, |
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, |
|
sprang_webrtc
2017/02/01 14:50:19
Please try matching the default settings for simul
ilnik
2017/02/01 15:12:50
Done.
|
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, |
| + 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, 30000, 3000000, 3000000, 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 = 1; |
| + simulcast.pipe.queue_delay_ms = 100; |
| + simulcast.pipe.link_capacity_kbps = 3000; |
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, |
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, |
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, |
| + 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, 30000, 3000000, 3000000, 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 = 1; |
| + simulcast.pipe.queue_delay_ms = 100; |
| + simulcast.pipe.link_capacity_kbps = 3000; |
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, |
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, |
| + false, "VP8", 1, 0, 400000, false, false, "", |
| + "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, |
| + 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 |