OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #include <stdio.h> | 10 #include <stdio.h> |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
353 screenshare.call.send_side_bwe = true; | 353 screenshare.call.send_side_bwe = true; |
354 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, | 354 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
355 "VP9", 1, 0, 400000, false, false, "", ""}; | 355 "VP9", 1, 0, 400000, false, false, "", ""}; |
356 screenshare.screenshare = {true, 10}; | 356 screenshare.screenshare = {true, 10}; |
357 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, | 357 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
358 kFullStackTestDurationSecs}; | 358 kFullStackTestDurationSecs}; |
359 screenshare.logs = false; | 359 screenshare.logs = false; |
360 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; | 360 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
361 RunTest(screenshare); | 361 RunTest(screenshare); |
362 } | 362 } |
363 | |
364 TEST_F(FullStackTest, SimulcastVP9_3SL_High) { | |
365 VideoQualityTest::Params simulcast; | |
366 simulcast.call.send_side_bwe = true; | |
367 simulcast.video = {true, 1280, 720, 5, | |
sprang_webrtc
2017/02/09 17:10:39
You probably want more than 5 fps for this test. T
ilnik
2017/02/10 10:11:43
Done.
| |
368 800000, 2500000, 2500000, false, | |
369 "VP9", 1, 0, 400000, | |
370 false, false, "", "ConferenceMotion_1280_720_50"}; | |
371 simulcast.analyzer = {"simulcast_vp9_2sl", 0.0, 0.0, | |
sprang_webrtc
2017/02/09 17:10:39
Update "simulcast_vp9_2sl". This will be the key u
ilnik
2017/02/10 10:11:43
Done.
| |
372 kFullStackTestDurationSecs}; | |
373 simulcast.logs = false; | |
374 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 2}; | |
375 RunTest(simulcast); | |
376 } | |
377 | |
378 TEST_F(FullStackTest, SimulcastVP9_3SL_Med) { | |
379 VideoQualityTest::Params simulcast; | |
380 simulcast.call.send_side_bwe = true; | |
381 simulcast.video = {true, 1280, 720, 5, | |
382 800000, 2500000, 2500000, false, | |
383 "VP9", 1, 0, 400000, | |
384 false, false, "", "ConferenceMotion_1280_720_50"}; | |
385 simulcast.analyzer = {"simulcast_vp9_2sl", 0.0, 0.0, | |
386 kFullStackTestDurationSecs}; | |
387 simulcast.logs = false; | |
388 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 1}; | |
389 RunTest(simulcast); | |
390 } | |
391 | |
392 TEST_F(FullStackTest, SimulcastVP9_3SL_Low) { | |
393 VideoQualityTest::Params simulcast; | |
394 simulcast.call.send_side_bwe = true; | |
395 simulcast.video = {true, 1280, 720, 5, | |
396 800000, 2500000, 2500000, false, | |
397 "VP9", 1, 0, 400000, | |
398 false, false, "", "ConferenceMotion_1280_720_50"}; | |
399 simulcast.analyzer = {"simulcast_vp9_2sl", 0.0, 0.0, | |
400 kFullStackTestDurationSecs}; | |
401 simulcast.logs = false; | |
402 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 0}; | |
403 RunTest(simulcast); | |
404 } | |
363 #endif // !defined(RTC_DISABLE_VP9) | 405 #endif // !defined(RTC_DISABLE_VP9) |
364 | 406 |
365 TEST_F(FullStackTest, SimulcastVP8_3SL_High) { | 407 TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
366 VideoQualityTest::Params simulcast; | 408 VideoQualityTest::Params simulcast; |
367 simulcast.call.send_side_bwe = true; | 409 simulcast.call.send_side_bwe = true; |
368 simulcast.video = {true, 1280, 720, 50, | 410 simulcast.video = {true, 1280, 720, 50, |
369 800000, 2500000, 2500000, false, | 411 800000, 2500000, 2500000, false, |
370 "VP8", 1, 0, 400000, | 412 "VP8", 1, 0, 400000, |
371 false, false, "", "ConferenceMotion_1280_720_50"}; | 413 false, false, "", "ConferenceMotion_1280_720_50"}; |
372 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | 414 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
467 false, false, "", "ConferenceMotion_1280_720_50"}; | 509 false, false, "", "ConferenceMotion_1280_720_50"}; |
468 | 510 |
469 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 511 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
470 DefaultVideoStream(video_params_medium), | 512 DefaultVideoStream(video_params_medium), |
471 DefaultVideoStream(video_params_high)}; | 513 DefaultVideoStream(video_params_high)}; |
472 simulcast.ss = {streams, 0, 1, 0}; | 514 simulcast.ss = {streams, 0, 1, 0}; |
473 RunTest(simulcast); | 515 RunTest(simulcast); |
474 } | 516 } |
475 | 517 |
476 } // namespace webrtc | 518 } // namespace webrtc |
OLD | NEW |