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) { | |
sprang_webrtc
2017/02/10 10:34:27
Rename these VP9 SVC instead.
ilnik
2017/02/10 10:50:46
Done.
| |
365 VideoQualityTest::Params simulcast; | |
366 simulcast.call.send_side_bwe = true; | |
367 simulcast.video = {true, 1280, 720, 50, | |
368 800000, 2500000, 2500000, false, | |
369 "VP9", 1, 0, 400000, | |
370 false, false, "", "ConferenceMotion_1280_720_50"}; | |
371 simulcast.analyzer = {"simulcast_vp9_3sl_high", 0.0, 0.0, | |
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_Medium) { | |
379 VideoQualityTest::Params simulcast; | |
380 simulcast.call.send_side_bwe = true; | |
381 simulcast.video = {true, 1280, 720, 50, | |
382 800000, 2500000, 2500000, false, | |
383 "VP9", 1, 0, 400000, | |
384 false, false, "", "ConferenceMotion_1280_720_50"}; | |
385 simulcast.analyzer = {"simulcast_vp9_3sl_medium", 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, 50, | |
396 800000, 2500000, 2500000, false, | |
397 "VP9", 1, 0, 400000, | |
398 false, false, "", "ConferenceMotion_1280_720_50"}; | |
399 simulcast.analyzer = {"simulcast_vp9_3sl_low", 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_high", 0.0, 0.0, |
373 kFullStackTestDurationSecs}; | 415 kFullStackTestDurationSecs}; |
374 simulcast.pipe.loss_percent = 0; | 416 simulcast.pipe.loss_percent = 0; |
375 simulcast.pipe.queue_delay_ms = 100; | 417 simulcast.pipe.queue_delay_ms = 100; |
376 VideoQualityTest::Params video_params_high; | 418 VideoQualityTest::Params video_params_high; |
377 video_params_high.video = { | 419 video_params_high.video = { |
378 true, 1280, 720, 50, | 420 true, 1280, 720, 50, |
379 800000, 2500000, 2500000, false, | 421 800000, 2500000, 2500000, false, |
380 "VP8", 1, 0, 400000, | 422 "VP8", 1, 0, 400000, |
381 false, false, "", "ConferenceMotion_1280_720_50"}; | 423 false, false, "", "ConferenceMotion_1280_720_50"}; |
382 VideoQualityTest::Params video_params_medium; | 424 VideoQualityTest::Params video_params_medium; |
(...skipping 16 matching lines...) Expand all Loading... | |
399 RunTest(simulcast); | 441 RunTest(simulcast); |
400 } | 442 } |
401 | 443 |
402 TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { | 444 TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
403 VideoQualityTest::Params simulcast; | 445 VideoQualityTest::Params simulcast; |
404 simulcast.call.send_side_bwe = true; | 446 simulcast.call.send_side_bwe = true; |
405 simulcast.video = {true, 1280, 720, 50, | 447 simulcast.video = {true, 1280, 720, 50, |
406 800000, 2500000, 2500000, false, | 448 800000, 2500000, 2500000, false, |
407 "VP8", 1, 0, 400000, | 449 "VP8", 1, 0, 400000, |
408 false, false, "", "ConferenceMotion_1280_720_50"}; | 450 false, false, "", "ConferenceMotion_1280_720_50"}; |
409 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | 451 simulcast.analyzer = {"simulcast_vp8_3sl_medium", 0.0, 0.0, |
410 kFullStackTestDurationSecs}; | 452 kFullStackTestDurationSecs}; |
411 simulcast.pipe.loss_percent = 0; | 453 simulcast.pipe.loss_percent = 0; |
412 simulcast.pipe.queue_delay_ms = 100; | 454 simulcast.pipe.queue_delay_ms = 100; |
413 VideoQualityTest::Params video_params_high; | 455 VideoQualityTest::Params video_params_high; |
414 video_params_high.video = { | 456 video_params_high.video = { |
415 true, 1280, 720, 50, | 457 true, 1280, 720, 50, |
416 800000, 2500000, 2500000, false, | 458 800000, 2500000, 2500000, false, |
417 "VP8", 1, 0, 400000, | 459 "VP8", 1, 0, 400000, |
418 false, false, "", "ConferenceMotion_1280_720_50"}; | 460 false, false, "", "ConferenceMotion_1280_720_50"}; |
419 VideoQualityTest::Params video_params_medium; | 461 VideoQualityTest::Params video_params_medium; |
(...skipping 16 matching lines...) Expand all Loading... | |
436 RunTest(simulcast); | 478 RunTest(simulcast); |
437 } | 479 } |
438 | 480 |
439 TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { | 481 TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
440 VideoQualityTest::Params simulcast; | 482 VideoQualityTest::Params simulcast; |
441 simulcast.call.send_side_bwe = true; | 483 simulcast.call.send_side_bwe = true; |
442 simulcast.video = {true, 1280, 720, 50, | 484 simulcast.video = {true, 1280, 720, 50, |
443 800000, 2500000, 2500000, false, | 485 800000, 2500000, 2500000, false, |
444 "VP8", 1, 0, 400000, | 486 "VP8", 1, 0, 400000, |
445 false, false, "", "ConferenceMotion_1280_720_50"}; | 487 false, false, "", "ConferenceMotion_1280_720_50"}; |
446 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | 488 simulcast.analyzer = {"simulcast_vp8_3sl_low", 0.0, 0.0, |
447 kFullStackTestDurationSecs}; | 489 kFullStackTestDurationSecs}; |
448 simulcast.pipe.loss_percent = 0; | 490 simulcast.pipe.loss_percent = 0; |
449 simulcast.pipe.queue_delay_ms = 100; | 491 simulcast.pipe.queue_delay_ms = 100; |
450 VideoQualityTest::Params video_params_high; | 492 VideoQualityTest::Params video_params_high; |
451 video_params_high.video = { | 493 video_params_high.video = { |
452 true, 1280, 720, 50, | 494 true, 1280, 720, 50, |
453 800000, 2500000, 2500000, false, | 495 800000, 2500000, 2500000, false, |
454 "VP8", 1, 0, 400000, | 496 "VP8", 1, 0, 400000, |
455 false, false, "", "ConferenceMotion_1280_720_50"}; | 497 false, false, "", "ConferenceMotion_1280_720_50"}; |
456 VideoQualityTest::Params video_params_medium; | 498 VideoQualityTest::Params video_params_medium; |
(...skipping 10 matching lines...) Expand all 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 |