| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 "VP8", 1, 0, 0, false, false, "", | 273 "VP8", 1, 0, 0, false, false, "", |
| 274 "ConferenceMotion_1280_720_50"}; | 274 "ConferenceMotion_1280_720_50"}; |
| 275 conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue", | 275 conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue", |
| 276 0.0, 0.0, kFullStackTestDurationSecs}; | 276 0.0, 0.0, kFullStackTestDurationSecs}; |
| 277 conf_motion_hd.pipe.queue_length_packets = 32; | 277 conf_motion_hd.pipe.queue_length_packets = 32; |
| 278 conf_motion_hd.pipe.queue_delay_ms = 100; | 278 conf_motion_hd.pipe.queue_delay_ms = 100; |
| 279 conf_motion_hd.pipe.link_capacity_kbps = 2000; | 279 conf_motion_hd.pipe.link_capacity_kbps = 2000; |
| 280 RunTest(conf_motion_hd); | 280 RunTest(conf_motion_hd); |
| 281 } | 281 } |
| 282 | 282 |
| 283 #if !defined(RTC_DISABLE_VP9) |
| 284 TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueueVP9) { |
| 285 VideoQualityTest::Params conf_motion_hd; |
| 286 conf_motion_hd.call.send_side_bwe = true; |
| 287 conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, |
| 288 "VP9", 1, 0, 0, false, false, "", |
| 289 "ConferenceMotion_1280_720_50"}; |
| 290 conf_motion_hd.analyzer = { |
| 291 "conference_motion_hd_2000kbps_100ms_32pkts_queue_vp9", 0.0, 0.0, |
| 292 kFullStackTestDurationSecs}; |
| 293 conf_motion_hd.pipe.queue_length_packets = 32; |
| 294 conf_motion_hd.pipe.queue_delay_ms = 100; |
| 295 conf_motion_hd.pipe.link_capacity_kbps = 2000; |
| 296 RunTest(conf_motion_hd); |
| 297 } |
| 298 #endif |
| 299 |
| 283 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { | 300 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { |
| 284 VideoQualityTest::Params screenshare; | 301 VideoQualityTest::Params screenshare; |
| 285 screenshare.call.send_side_bwe = true; | 302 screenshare.call.send_side_bwe = true; |
| 286 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, | 303 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
| 287 "VP8", 2, 1, 400000, false, false, "", ""}; | 304 "VP8", 2, 1, 400000, false, false, "", ""}; |
| 288 screenshare.screenshare = {true, 10}; | 305 screenshare.screenshare = {true, 10}; |
| 289 screenshare.analyzer = {"screenshare_slides", 0.0, 0.0, | 306 screenshare.analyzer = {"screenshare_slides", 0.0, 0.0, |
| 290 kFullStackTestDurationSecs}; | 307 kFullStackTestDurationSecs}; |
| 291 RunTest(screenshare); | 308 RunTest(screenshare); |
| 292 } | 309 } |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 screenshare.screenshare = {true, 10}; | 356 screenshare.screenshare = {true, 10}; |
| 340 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, | 357 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
| 341 kFullStackTestDurationSecs}; | 358 kFullStackTestDurationSecs}; |
| 342 screenshare.logs = false; | 359 screenshare.logs = false; |
| 343 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; | 360 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
| 344 RunTest(screenshare); | 361 RunTest(screenshare); |
| 345 } | 362 } |
| 346 #endif // !defined(RTC_DISABLE_VP9) | 363 #endif // !defined(RTC_DISABLE_VP9) |
| 347 | 364 |
| 348 } // namespace webrtc | 365 } // namespace webrtc |
| OLD | NEW |