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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 "VP8", 3, 2, 400000, | 392 "VP8", 3, 2, 400000, |
393 false, false, "", "ConferenceMotion_1280_720_50"}; | 393 false, false, "", "ConferenceMotion_1280_720_50"}; |
394 | 394 |
395 const VideoQualityTest::Params::Video kSimulcastVp8VideoLow = { | 395 const VideoQualityTest::Params::Video kSimulcastVp8VideoLow = { |
396 true, 320, 180, 30, | 396 true, 320, 180, 30, |
397 30000, 150000, 200000, false, | 397 30000, 150000, 200000, false, |
398 "VP8", 3, 2, 400000, | 398 "VP8", 3, 2, 400000, |
399 false, false, "", "ConferenceMotion_1280_720_50"}; | 399 false, false, "", "ConferenceMotion_1280_720_50"}; |
400 | 400 |
401 #if !defined(RTC_DISABLE_VP9) | 401 #if !defined(RTC_DISABLE_VP9) |
402 // Disabled due to crash on Linux, Win and Android, see bugs.webrtc.org/7401. | 402 // Disabled due to crashes, see bugs.webrtc.org/7401. |
403 #if defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID) || defined(WEBRTC_WIN) | 403 TEST_F(FullStackTest, DISABLED_ScreenshareSlidesVP9_2SL) { |
404 #define MAYBE_ScreenshareSlidesVP9_2SL DISABLED_ScreenshareSlidesVP9_2SL | |
405 #else | |
406 #define MAYBE_ScreenshareSlidesVP9_2SL ScreenshareSlidesVP9_2SL | |
407 #endif | |
408 TEST_F(FullStackTest, MAYBE_ScreenshareSlidesVP9_2SL) { | |
409 VideoQualityTest::Params screenshare; | 404 VideoQualityTest::Params screenshare; |
410 screenshare.call.send_side_bwe = true; | 405 screenshare.call.send_side_bwe = true; |
411 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, | 406 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
412 "VP9", 1, 0, 400000, false, false, "", ""}; | 407 "VP9", 1, 0, 400000, false, false, "", ""}; |
413 screenshare.screenshare = {true, 10}; | 408 screenshare.screenshare = {true, 10}; |
414 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, | 409 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
415 kFullStackTestDurationSecs}; | 410 kFullStackTestDurationSecs}; |
416 screenshare.logs = false; | 411 screenshare.logs = false; |
417 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; | 412 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
418 RunTest(screenshare); | 413 RunTest(screenshare); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | 586 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
592 DefaultVideoStream(video_params_medium), | 587 DefaultVideoStream(video_params_medium), |
593 DefaultVideoStream(video_params_high)}; | 588 DefaultVideoStream(video_params_high)}; |
594 large_room.num_thumbnails = 50; | 589 large_room.num_thumbnails = 50; |
595 large_room.ss = {streams, 2, 1, 0}; | 590 large_room.ss = {streams, 2, 1, 0}; |
596 RunTest(large_room); | 591 RunTest(large_room); |
597 } | 592 } |
598 | 593 |
599 | 594 |
600 } // namespace webrtc | 595 } // namespace webrtc |
OLD | NEW |