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