| 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..fba55501f94cb7b1139ddedf0b7345a982252506 100644
|
| --- a/webrtc/video/full_stack_tests.cc
|
| +++ b/webrtc/video/full_stack_tests.cc
|
| @@ -345,4 +345,115 @@ 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,
|
| + 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
|
|
|