| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 "VP8", 2, 1, 400000, false, false, "", ""}; | 340 "VP8", 2, 1, 400000, false, false, "", ""}; |
| 341 screenshare.screenshare = {true, 10}; | 341 screenshare.screenshare = {true, 10}; |
| 342 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0, | 342 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0, |
| 343 kFullStackTestDurationSecs}; | 343 kFullStackTestDurationSecs}; |
| 344 screenshare.pipe.loss_percent = 10; | 344 screenshare.pipe.loss_percent = 10; |
| 345 screenshare.pipe.queue_delay_ms = 200; | 345 screenshare.pipe.queue_delay_ms = 200; |
| 346 screenshare.pipe.link_capacity_kbps = 500; | 346 screenshare.pipe.link_capacity_kbps = 500; |
| 347 RunTest(screenshare); | 347 RunTest(screenshare); |
| 348 } | 348 } |
| 349 | 349 |
| 350 const VideoQualityTest::Params::Video kSvcVp9Video = { |
| 351 true, 1280, 720, 30, |
| 352 800000, 2500000, 2500000, false, |
| 353 "VP9", 3, 2, 400000, |
| 354 false, false, "", "ConferenceMotion_1280_720_50"}; |
| 355 |
| 356 const VideoQualityTest::Params::Video kSimulcastVp8VideoHigh = { |
| 357 true, 1280, 720, 30, |
| 358 800000, 2500000, 2500000, false, |
| 359 "VP8", 3, 2, 400000, |
| 360 false, false, "", "ConferenceMotion_1280_720_50"}; |
| 361 |
| 362 const VideoQualityTest::Params::Video kSimulcastVp8VideoMedium = { |
| 363 true, 640, 360, 30, |
| 364 150000, 500000, 700000, false, |
| 365 "VP8", 3, 2, 400000, |
| 366 false, false, "", "ConferenceMotion_1280_720_50"}; |
| 367 |
| 368 const VideoQualityTest::Params::Video kSimulcastVp8VideoLow = { |
| 369 true, 320, 180, 30, |
| 370 30000, 150000, 200000, false, |
| 371 "VP8", 3, 2, 400000, |
| 372 false, false, "", "ConferenceMotion_1280_720_50"}; |
| 373 |
| 350 #if !defined(RTC_DISABLE_VP9) | 374 #if !defined(RTC_DISABLE_VP9) |
| 351 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { | 375 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { |
| 352 VideoQualityTest::Params screenshare; | 376 VideoQualityTest::Params screenshare; |
| 353 screenshare.call.send_side_bwe = true; | 377 screenshare.call.send_side_bwe = true; |
| 354 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, | 378 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
| 355 "VP9", 1, 0, 400000, false, false, "", ""}; | 379 "VP9", 1, 0, 400000, false, false, "", ""}; |
| 356 screenshare.screenshare = {true, 10}; | 380 screenshare.screenshare = {true, 10}; |
| 357 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, | 381 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
| 358 kFullStackTestDurationSecs}; | 382 kFullStackTestDurationSecs}; |
| 359 screenshare.logs = false; | 383 screenshare.logs = false; |
| 360 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; | 384 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
| 361 RunTest(screenshare); | 385 RunTest(screenshare); |
| 362 } | 386 } |
| 363 | 387 |
| 364 TEST_F(FullStackTest, VP9SVC_3SL_High) { | 388 TEST_F(FullStackTest, VP9SVC_3SL_High) { |
| 365 VideoQualityTest::Params simulcast; | 389 VideoQualityTest::Params simulcast; |
| 366 simulcast.call.send_side_bwe = true; | 390 simulcast.call.send_side_bwe = true; |
| 367 simulcast.video = {true, 1280, 720, 30, | 391 simulcast.video = kSvcVp9Video; |
| 368 800000, 2500000, 2500000, false, | |
| 369 "VP9", 1, 0, 400000, | |
| 370 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 371 simulcast.analyzer = {"vp9svc_3sl_high", 0.0, 0.0, | 392 simulcast.analyzer = {"vp9svc_3sl_high", 0.0, 0.0, |
| 372 kFullStackTestDurationSecs}; | 393 kFullStackTestDurationSecs}; |
| 373 simulcast.logs = false; | 394 simulcast.logs = false; |
| 374 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 2}; | 395 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 2}; |
| 375 RunTest(simulcast); | 396 RunTest(simulcast); |
| 376 } | 397 } |
| 377 | 398 |
| 378 TEST_F(FullStackTest, VP9SVC_3SL_Medium) { | 399 TEST_F(FullStackTest, VP9SVC_3SL_Medium) { |
| 379 VideoQualityTest::Params simulcast; | 400 VideoQualityTest::Params simulcast; |
| 380 simulcast.call.send_side_bwe = true; | 401 simulcast.call.send_side_bwe = true; |
| 381 simulcast.video = {true, 1280, 720, 30, | 402 simulcast.video = kSvcVp9Video; |
| 382 800000, 2500000, 2500000, false, | |
| 383 "VP9", 1, 0, 400000, | |
| 384 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 385 simulcast.analyzer = {"vp9svc_3sl_medium", 0.0, 0.0, | 403 simulcast.analyzer = {"vp9svc_3sl_medium", 0.0, 0.0, |
| 386 kFullStackTestDurationSecs}; | 404 kFullStackTestDurationSecs}; |
| 387 simulcast.logs = false; | 405 simulcast.logs = false; |
| 388 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 1}; | 406 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 1}; |
| 389 RunTest(simulcast); | 407 RunTest(simulcast); |
| 390 } | 408 } |
| 391 | 409 |
| 392 TEST_F(FullStackTest, VP9SVC_3SL_Low) { | 410 TEST_F(FullStackTest, VP9SVC_3SL_Low) { |
| 393 VideoQualityTest::Params simulcast; | 411 VideoQualityTest::Params simulcast; |
| 394 simulcast.call.send_side_bwe = true; | 412 simulcast.call.send_side_bwe = true; |
| 395 simulcast.video = {true, 1280, 720, 30, | 413 simulcast.video = kSvcVp9Video; |
| 396 800000, 2500000, 2500000, false, | |
| 397 "VP9", 1, 0, 400000, | |
| 398 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 399 simulcast.analyzer = {"vp9svc_3sl_low", 0.0, 0.0, kFullStackTestDurationSecs}; | 414 simulcast.analyzer = {"vp9svc_3sl_low", 0.0, 0.0, kFullStackTestDurationSecs}; |
| 400 simulcast.logs = false; | 415 simulcast.logs = false; |
| 401 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 0}; | 416 simulcast.ss = {std::vector<VideoStream>(), 0, 3, 0}; |
| 402 RunTest(simulcast); | 417 RunTest(simulcast); |
| 403 } | 418 } |
| 404 #endif // !defined(RTC_DISABLE_VP9) | 419 #endif // !defined(RTC_DISABLE_VP9) |
| 405 | 420 |
| 406 TEST_F(FullStackTest, SimulcastVP8_3SL_High) { | 421 TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
| 407 VideoQualityTest::Params simulcast; | 422 VideoQualityTest::Params simulcast; |
| 408 simulcast.call.send_side_bwe = true; | 423 simulcast.call.send_side_bwe = true; |
| 409 simulcast.video = {true, 1280, 720, 30, | 424 simulcast.video = kSimulcastVp8VideoHigh; |
| 410 800000, 2500000, 2500000, false, | |
| 411 "VP8", 1, 0, 400000, | |
| 412 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 413 simulcast.analyzer = {"simulcast_vp8_3sl_high", 0.0, 0.0, | 425 simulcast.analyzer = {"simulcast_vp8_3sl_high", 0.0, 0.0, |
| 414 kFullStackTestDurationSecs}; | 426 kFullStackTestDurationSecs}; |
| 415 simulcast.pipe.loss_percent = 0; | 427 simulcast.pipe.loss_percent = 0; |
| 416 simulcast.pipe.queue_delay_ms = 100; | 428 simulcast.pipe.queue_delay_ms = 100; |
| 417 VideoQualityTest::Params video_params_high; | 429 VideoQualityTest::Params video_params_high; |
| 418 video_params_high.video = { | 430 video_params_high.video = kSimulcastVp8VideoHigh; |
| 419 true, 1280, 720, 30, | |
| 420 800000, 2500000, 2500000, false, | |
| 421 "VP8", 1, 0, 400000, | |
| 422 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 423 VideoQualityTest::Params video_params_medium; | 431 VideoQualityTest::Params video_params_medium; |
| 424 video_params_medium.video = { | 432 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 425 true, 640, 360, 30, | |
| 426 150000, 500000, 700000, false, | |
| 427 "VP8", 1, 0, 400000, | |
| 428 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 429 VideoQualityTest::Params video_params_low; | 433 VideoQualityTest::Params video_params_low; |
| 430 video_params_low.video = { | 434 video_params_low.video = kSimulcastVp8VideoLow; |
| 431 true, 320, 180, 30, | |
| 432 30000, 150000, 200000, false, | |
| 433 "VP8", 1, 0, 400000, | |
| 434 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 435 | 435 |
| 436 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 436 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 437 DefaultVideoStream(video_params_medium), | 437 DefaultVideoStream(video_params_medium), |
| 438 DefaultVideoStream(video_params_high)}; | 438 DefaultVideoStream(video_params_high)}; |
| 439 simulcast.ss = {streams, 2, 1, 0}; | 439 simulcast.ss = {streams, 2, 1, 0}; |
| 440 RunTest(simulcast); | 440 RunTest(simulcast); |
| 441 } | 441 } |
| 442 | 442 |
| 443 TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { | 443 TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
| 444 VideoQualityTest::Params simulcast; | 444 VideoQualityTest::Params simulcast; |
| 445 simulcast.call.send_side_bwe = true; | 445 simulcast.call.send_side_bwe = true; |
| 446 simulcast.video = {true, 1280, 720, 30, | 446 simulcast.video = kSimulcastVp8VideoHigh; |
| 447 800000, 2500000, 2500000, false, | |
| 448 "VP8", 1, 0, 400000, | |
| 449 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 450 simulcast.analyzer = {"simulcast_vp8_3sl_medium", 0.0, 0.0, | 447 simulcast.analyzer = {"simulcast_vp8_3sl_medium", 0.0, 0.0, |
| 451 kFullStackTestDurationSecs}; | 448 kFullStackTestDurationSecs}; |
| 452 simulcast.pipe.loss_percent = 0; | 449 simulcast.pipe.loss_percent = 0; |
| 453 simulcast.pipe.queue_delay_ms = 100; | 450 simulcast.pipe.queue_delay_ms = 100; |
| 454 VideoQualityTest::Params video_params_high; | 451 VideoQualityTest::Params video_params_high; |
| 455 video_params_high.video = { | 452 video_params_high.video = kSimulcastVp8VideoHigh; |
| 456 true, 1280, 720, 30, | |
| 457 800000, 2500000, 2500000, false, | |
| 458 "VP8", 1, 0, 400000, | |
| 459 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 460 VideoQualityTest::Params video_params_medium; | 453 VideoQualityTest::Params video_params_medium; |
| 461 video_params_medium.video = { | 454 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 462 true, 640, 360, 30, | |
| 463 150000, 500000, 700000, false, | |
| 464 "VP8", 1, 0, 400000, | |
| 465 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 466 VideoQualityTest::Params video_params_low; | 455 VideoQualityTest::Params video_params_low; |
| 467 video_params_low.video = { | 456 video_params_low.video = kSimulcastVp8VideoLow; |
| 468 true, 320, 180, 30, | |
| 469 30000, 150000, 200000, false, | |
| 470 "VP8", 1, 0, 400000, | |
| 471 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 472 | 457 |
| 473 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 458 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 474 DefaultVideoStream(video_params_medium), | 459 DefaultVideoStream(video_params_medium), |
| 475 DefaultVideoStream(video_params_high)}; | 460 DefaultVideoStream(video_params_high)}; |
| 476 simulcast.ss = {streams, 1, 1, 0}; | 461 simulcast.ss = {streams, 1, 1, 0}; |
| 477 RunTest(simulcast); | 462 RunTest(simulcast); |
| 478 } | 463 } |
| 479 | 464 |
| 480 TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { | 465 TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
| 481 VideoQualityTest::Params simulcast; | 466 VideoQualityTest::Params simulcast; |
| 482 simulcast.call.send_side_bwe = true; | 467 simulcast.call.send_side_bwe = true; |
| 483 simulcast.video = {true, 1280, 720, 30, | 468 simulcast.video = kSimulcastVp8VideoHigh; |
| 484 800000, 2500000, 2500000, false, | |
| 485 "VP8", 1, 0, 400000, | |
| 486 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 487 simulcast.analyzer = {"simulcast_vp8_3sl_low", 0.0, 0.0, | 469 simulcast.analyzer = {"simulcast_vp8_3sl_low", 0.0, 0.0, |
| 488 kFullStackTestDurationSecs}; | 470 kFullStackTestDurationSecs}; |
| 489 simulcast.pipe.loss_percent = 0; | 471 simulcast.pipe.loss_percent = 0; |
| 490 simulcast.pipe.queue_delay_ms = 100; | 472 simulcast.pipe.queue_delay_ms = 100; |
| 491 VideoQualityTest::Params video_params_high; | 473 VideoQualityTest::Params video_params_high; |
| 492 video_params_high.video = { | 474 video_params_high.video = kSimulcastVp8VideoHigh; |
| 493 true, 1280, 720, 30, | |
| 494 800000, 2500000, 2500000, false, | |
| 495 "VP8", 1, 0, 400000, | |
| 496 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 497 VideoQualityTest::Params video_params_medium; | 475 VideoQualityTest::Params video_params_medium; |
| 498 video_params_medium.video = { | 476 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 499 true, 640, 360, 30, | |
| 500 150000, 500000, 700000, false, | |
| 501 "VP8", 1, 0, 400000, | |
| 502 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 503 VideoQualityTest::Params video_params_low; | 477 VideoQualityTest::Params video_params_low; |
| 504 video_params_low.video = { | 478 video_params_low.video = kSimulcastVp8VideoLow; |
| 505 true, 320, 180, 30, | |
| 506 30000, 150000, 200000, false, | |
| 507 "VP8", 1, 0, 400000, | |
| 508 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 509 | 479 |
| 510 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 480 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 511 DefaultVideoStream(video_params_medium), | 481 DefaultVideoStream(video_params_medium), |
| 512 DefaultVideoStream(video_params_high)}; | 482 DefaultVideoStream(video_params_high)}; |
| 513 simulcast.ss = {streams, 0, 1, 0}; | 483 simulcast.ss = {streams, 0, 1, 0}; |
| 514 RunTest(simulcast); | 484 RunTest(simulcast); |
| 515 } | 485 } |
| 516 | 486 |
| 517 TEST_F(FullStackTest, LargeRoomVP8_5thumb) { | 487 TEST_F(FullStackTest, LargeRoomVP8_5thumb) { |
| 518 VideoQualityTest::Params large_room; | 488 VideoQualityTest::Params large_room; |
| 519 large_room.call.send_side_bwe = true; | 489 large_room.call.send_side_bwe = true; |
| 520 large_room.video = {true, 1280, 720, 30, | 490 large_room.video = kSimulcastVp8VideoHigh; |
| 521 800000, 2500000, 2500000, false, | |
| 522 "VP8", 3, 2, 400000, | |
| 523 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 524 large_room.analyzer = {"largeroom_5thumb", 0.0, 0.0, | 491 large_room.analyzer = {"largeroom_5thumb", 0.0, 0.0, |
| 525 kFullStackTestDurationSecs}; | 492 kFullStackTestDurationSecs}; |
| 526 large_room.pipe.loss_percent = 0; | 493 large_room.pipe.loss_percent = 0; |
| 527 large_room.pipe.queue_delay_ms = 100; | 494 large_room.pipe.queue_delay_ms = 100; |
| 528 VideoQualityTest::Params video_params_high; | 495 VideoQualityTest::Params video_params_high; |
| 529 video_params_high.video = { | 496 video_params_high.video = kSimulcastVp8VideoHigh; |
| 530 true, 1280, 720, 30, | |
| 531 800000, 2500000, 2500000, false, | |
| 532 "VP8", 3, 2, 400000, | |
| 533 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 534 VideoQualityTest::Params video_params_medium; | 497 VideoQualityTest::Params video_params_medium; |
| 535 video_params_medium.video = { | 498 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 536 true, 640, 360, 30, | |
| 537 150000, 500000, 700000, false, | |
| 538 "VP8", 3, 2, 400000, | |
| 539 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 540 VideoQualityTest::Params video_params_low; | 499 VideoQualityTest::Params video_params_low; |
| 541 video_params_low.video = { | 500 video_params_low.video = kSimulcastVp8VideoLow; |
| 542 true, 320, 180, 30, | |
| 543 30000, 150000, 200000, false, | |
| 544 "VP8", 3, 2, 400000, | |
| 545 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 546 | 501 |
| 547 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 502 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 548 DefaultVideoStream(video_params_medium), | 503 DefaultVideoStream(video_params_medium), |
| 549 DefaultVideoStream(video_params_high)}; | 504 DefaultVideoStream(video_params_high)}; |
| 550 large_room.num_thumbnails = 5; | 505 large_room.num_thumbnails = 5; |
| 551 large_room.ss = {streams, 2, 1, 0}; | 506 large_room.ss = {streams, 2, 1, 0}; |
| 552 RunTest(large_room); | 507 RunTest(large_room); |
| 553 } | 508 } |
| 554 | 509 |
| 555 TEST_F(FullStackTest, LargeRoomVP8_15thumb) { | 510 TEST_F(FullStackTest, LargeRoomVP8_15thumb) { |
| 556 VideoQualityTest::Params large_room; | 511 VideoQualityTest::Params large_room; |
| 557 large_room.call.send_side_bwe = true; | 512 large_room.call.send_side_bwe = true; |
| 558 large_room.video = {true, 1280, 720, 30, | 513 large_room.video = kSimulcastVp8VideoHigh; |
| 559 800000, 2500000, 2500000, false, | |
| 560 "VP8", 3, 2, 400000, | |
| 561 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 562 large_room.analyzer = {"largeroom_15thumb", 0.0, 0.0, | 514 large_room.analyzer = {"largeroom_15thumb", 0.0, 0.0, |
| 563 kFullStackTestDurationSecs}; | 515 kFullStackTestDurationSecs}; |
| 564 large_room.pipe.loss_percent = 0; | 516 large_room.pipe.loss_percent = 0; |
| 565 large_room.pipe.queue_delay_ms = 100; | 517 large_room.pipe.queue_delay_ms = 100; |
| 566 VideoQualityTest::Params video_params_high; | 518 VideoQualityTest::Params video_params_high; |
| 567 video_params_high.video = { | 519 video_params_high.video = kSimulcastVp8VideoHigh; |
| 568 true, 1280, 720, 30, | |
| 569 800000, 2500000, 2500000, false, | |
| 570 "VP8", 3, 2, 400000, | |
| 571 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 572 VideoQualityTest::Params video_params_medium; | 520 VideoQualityTest::Params video_params_medium; |
| 573 video_params_medium.video = { | 521 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 574 true, 640, 360, 30, | |
| 575 150000, 500000, 700000, false, | |
| 576 "VP8", 3, 2, 400000, | |
| 577 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 578 VideoQualityTest::Params video_params_low; | 522 VideoQualityTest::Params video_params_low; |
| 579 video_params_low.video = { | 523 video_params_low.video = kSimulcastVp8VideoLow; |
| 580 true, 320, 180, 30, | |
| 581 30000, 150000, 200000, false, | |
| 582 "VP8", 3, 2, 400000, | |
| 583 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 584 | 524 |
| 585 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 525 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 586 DefaultVideoStream(video_params_medium), | 526 DefaultVideoStream(video_params_medium), |
| 587 DefaultVideoStream(video_params_high)}; | 527 DefaultVideoStream(video_params_high)}; |
| 588 large_room.num_thumbnails = 15; | 528 large_room.num_thumbnails = 15; |
| 589 large_room.ss = {streams, 2, 1, 0}; | 529 large_room.ss = {streams, 2, 1, 0}; |
| 590 RunTest(large_room); | 530 RunTest(large_room); |
| 591 } | 531 } |
| 592 | 532 |
| 593 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_WIN) | 533 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_WIN) |
| 594 // Fails on Android and win: | 534 // Fails on Android and win: |
| 595 // https://bugs.chromium.org/p/webrtc/issues/detail?id=7301 | 535 // https://bugs.chromium.org/p/webrtc/issues/detail?id=7301 |
| 596 #define MAYBE_LargeRoomVP8_50thumb DISABLED_LargeRoomVP8_50thumb | 536 #define MAYBE_LargeRoomVP8_50thumb DISABLED_LargeRoomVP8_50thumb |
| 597 #else | 537 #else |
| 598 #define MAYBE_LargeRoomVP8_50thumb LargeRoomVP8_50thumb | 538 #define MAYBE_LargeRoomVP8_50thumb LargeRoomVP8_50thumb |
| 599 #endif | 539 #endif |
| 600 | 540 |
| 601 TEST_F(FullStackTest, MAYBE_LargeRoomVP8_50thumb) { | 541 TEST_F(FullStackTest, MAYBE_LargeRoomVP8_50thumb) { |
| 602 VideoQualityTest::Params large_room; | 542 VideoQualityTest::Params large_room; |
| 603 large_room.call.send_side_bwe = true; | 543 large_room.call.send_side_bwe = true; |
| 604 large_room.video = {true, 1280, 720, 30, | 544 large_room.video = kSimulcastVp8VideoHigh; |
| 605 800000, 2500000, 2500000, false, | |
| 606 "VP8", 3, 2, 400000, | |
| 607 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 608 large_room.analyzer = {"largeroom_50thumb", 0.0, 0.0, | 545 large_room.analyzer = {"largeroom_50thumb", 0.0, 0.0, |
| 609 kFullStackTestDurationSecs}; | 546 kFullStackTestDurationSecs}; |
| 610 large_room.pipe.loss_percent = 0; | 547 large_room.pipe.loss_percent = 0; |
| 611 large_room.pipe.queue_delay_ms = 100; | 548 large_room.pipe.queue_delay_ms = 100; |
| 612 VideoQualityTest::Params video_params_high; | 549 VideoQualityTest::Params video_params_high; |
| 613 video_params_high.video = { | 550 video_params_high.video = kSimulcastVp8VideoHigh; |
| 614 true, 1280, 720, 30, | |
| 615 800000, 2500000, 2500000, false, | |
| 616 "VP8", 3, 2, 400000, | |
| 617 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 618 VideoQualityTest::Params video_params_medium; | 551 VideoQualityTest::Params video_params_medium; |
| 619 video_params_medium.video = { | 552 video_params_medium.video = kSimulcastVp8VideoMedium; |
| 620 true, 640, 360, 30, | |
| 621 150000, 500000, 700000, false, | |
| 622 "VP8", 3, 2, 400000, | |
| 623 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 624 VideoQualityTest::Params video_params_low; | 553 VideoQualityTest::Params video_params_low; |
| 625 video_params_low.video = { | 554 video_params_low.video = kSimulcastVp8VideoLow; |
| 626 true, 320, 180, 30, | |
| 627 30000, 150000, 200000, false, | |
| 628 "VP8", 3, 2, 400000, | |
| 629 false, false, "", "ConferenceMotion_1280_720_50"}; | |
| 630 | 555 |
| 631 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 556 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| 632 DefaultVideoStream(video_params_medium), | 557 DefaultVideoStream(video_params_medium), |
| 633 DefaultVideoStream(video_params_high)}; | 558 DefaultVideoStream(video_params_high)}; |
| 634 large_room.num_thumbnails = 50; | 559 large_room.num_thumbnails = 50; |
| 635 large_room.ss = {streams, 2, 1, 0}; | 560 large_room.ss = {streams, 2, 1, 0}; |
| 636 RunTest(large_room); | 561 RunTest(large_room); |
| 637 } | 562 } |
| 638 | 563 |
| 639 | 564 |
| 640 } // namespace webrtc | 565 } // namespace webrtc |
| OLD | NEW |