Chromium Code Reviews| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 338 "VP9", 1, 0, 400000, false, false, "", ""}; | 338 "VP9", 1, 0, 400000, false, false, "", ""}; |
| 339 screenshare.screenshare = {true, 10}; | 339 screenshare.screenshare = {true, 10}; |
| 340 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, | 340 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
| 341 kFullStackTestDurationSecs}; | 341 kFullStackTestDurationSecs}; |
| 342 screenshare.logs = false; | 342 screenshare.logs = false; |
| 343 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; | 343 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
| 344 RunTest(screenshare); | 344 RunTest(screenshare); |
| 345 } | 345 } |
| 346 #endif // !defined(RTC_DISABLE_VP9) | 346 #endif // !defined(RTC_DISABLE_VP9) |
| 347 | 347 |
| 348 TEST_F(FullStackTest, SimulcastVP8_3SL_High) { | |
| 349 VideoQualityTest::Params simulcast; | |
| 350 simulcast.call.send_side_bwe = true; | |
| 351 simulcast.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, | |
| 352 "VP8", 1, 0, 400000, false, false, "", | |
| 353 "ConferenceMotion_1280_720_50"}; | |
| 354 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | |
| 355 kFullStackTestDurationSecs}; | |
| 356 simulcast.pipe.loss_percent = 1; | |
|
sprang_webrtc
2017/02/01 14:50:19
I'm thinking we should start out without packet lo
ilnik
2017/02/01 15:12:50
Done.
| |
| 357 simulcast.pipe.queue_delay_ms = 100; | |
| 358 // Needs high enough bandwidth for high-bitrate stream to be not dropped | |
|
sprang_webrtc
2017/02/01 14:50:20
nit: End comments with period.
ilnik
2017/02/01 15:12:50
Done.
| |
| 359 simulcast.pipe.link_capacity_kbps = 3000; | |
|
sprang_webrtc
2017/02/01 14:50:19
Or even don't set this so it's unrestricted?
ilnik
2017/02/01 15:12:50
Great idea. Will do that.
| |
| 360 VideoQualityTest::Params video_params_high; | |
| 361 video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, | |
| 362 false, "VP8", 1, 0, 400000, false, false, "", | |
| 363 "ConferenceMotion_1280_720_50"}; | |
| 364 VideoQualityTest::Params video_params_medium; | |
| 365 video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, | |
|
sprang_webrtc
2017/02/01 14:50:19
Please try matching the default settings for simul
ilnik
2017/02/01 15:12:50
Done.
| |
| 366 false, "VP8", 1, 0, 400000, false, false, "", | |
| 367 "ConferenceMotion_1280_720_50"}; | |
| 368 VideoQualityTest::Params video_params_low; | |
| 369 video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, | |
| 370 false, "VP8", 1, 0, 400000, false, false, "", | |
| 371 "ConferenceMotion_1280_720_50"}; | |
| 372 | |
| 373 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | |
| 374 DefaultVideoStream(video_params_medium), | |
| 375 DefaultVideoStream(video_params_high)}; | |
| 376 simulcast.ss={streams, 2, 1, 0}; | |
| 377 RunTest(simulcast); | |
| 378 } | |
| 379 | |
| 380 TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { | |
| 381 VideoQualityTest::Params simulcast; | |
| 382 simulcast.call.send_side_bwe = true; | |
| 383 simulcast.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, | |
| 384 "VP8", 1, 0, 400000, false, false, "", | |
| 385 "ConferenceMotion_1280_720_50"}; | |
| 386 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | |
| 387 kFullStackTestDurationSecs}; | |
| 388 simulcast.pipe.loss_percent = 1; | |
| 389 simulcast.pipe.queue_delay_ms = 100; | |
| 390 simulcast.pipe.link_capacity_kbps = 3000; | |
| 391 VideoQualityTest::Params video_params_high; | |
| 392 video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, | |
| 393 false, "VP8", 1, 0, 400000, false, false, "", | |
| 394 "ConferenceMotion_1280_720_50"}; | |
| 395 VideoQualityTest::Params video_params_medium; | |
| 396 video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, | |
| 397 false, "VP8", 1, 0, 400000, false, false, "", | |
| 398 "ConferenceMotion_1280_720_50"}; | |
| 399 VideoQualityTest::Params video_params_low; | |
| 400 video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, | |
| 401 false, "VP8", 1, 0, 400000, false, false, "", | |
| 402 "ConferenceMotion_1280_720_50"}; | |
| 403 | |
| 404 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | |
| 405 DefaultVideoStream(video_params_medium), | |
| 406 DefaultVideoStream(video_params_high)}; | |
| 407 simulcast.ss={streams, 1, 1, 0}; | |
| 408 RunTest(simulcast); | |
| 409 } | |
| 410 | |
| 411 TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { | |
| 412 VideoQualityTest::Params simulcast; | |
| 413 simulcast.call.send_side_bwe = true; | |
| 414 simulcast.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, | |
| 415 "VP8", 1, 0, 400000, false, false, "", | |
| 416 "ConferenceMotion_1280_720_50"}; | |
| 417 simulcast.analyzer = {"simulcast_vp8_3sl_demo", 0.0, 0.0, | |
| 418 kFullStackTestDurationSecs}; | |
| 419 simulcast.pipe.loss_percent = 1; | |
| 420 simulcast.pipe.queue_delay_ms = 100; | |
| 421 simulcast.pipe.link_capacity_kbps = 3000; | |
| 422 VideoQualityTest::Params video_params_high; | |
| 423 video_params_high.video = {true, 1280, 720, 50, 500000, 3000000, 3000000, | |
| 424 false, "VP8", 1, 0, 400000, false, false, "", | |
| 425 "ConferenceMotion_1280_720_50"}; | |
| 426 VideoQualityTest::Params video_params_medium; | |
| 427 video_params_medium.video = {true, 896, 504, 50, 60000, 500000, 500000, | |
| 428 false, "VP8", 1, 0, 400000, false, false, "", | |
| 429 "ConferenceMotion_1280_720_50"}; | |
| 430 VideoQualityTest::Params video_params_low; | |
| 431 video_params_low.video = {true, 512, 288, 50, 30000, 60000, 60000, | |
| 432 false, "VP8", 1, 0, 400000, false, false, "", | |
| 433 "ConferenceMotion_1280_720_50"}; | |
| 434 | |
| 435 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), | |
| 436 DefaultVideoStream(video_params_medium), | |
| 437 DefaultVideoStream(video_params_high)}; | |
| 438 simulcast.ss={streams, 0, 1, 0}; | |
| 439 RunTest(simulcast); | |
| 440 } | |
| 441 | |
| 348 } // namespace webrtc | 442 } // namespace webrtc |
| OLD | NEW |