Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: webrtc/video/full_stack_tests.cc

Issue 2930703002: Add new screenshare full stack test with limited queue. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 "VP8", 2, 1, 400000, false, false, "", ""}; 367 "VP8", 2, 1, 400000, false, false, "", ""};
368 screenshare.screenshare = {true, 10}; 368 screenshare.screenshare = {true, 10};
369 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0, 369 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0,
370 kFullStackTestDurationSecs}; 370 kFullStackTestDurationSecs};
371 screenshare.pipe.loss_percent = 10; 371 screenshare.pipe.loss_percent = 10;
372 screenshare.pipe.queue_delay_ms = 200; 372 screenshare.pipe.queue_delay_ms = 200;
373 screenshare.pipe.link_capacity_kbps = 500; 373 screenshare.pipe.link_capacity_kbps = 500;
374 RunTest(screenshare); 374 RunTest(screenshare);
375 } 375 }
376 376
377 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNetRestrictedQueue) {
378 VideoQualityTest::Params screenshare;
379 screenshare.call.send_side_bwe = true;
380 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
381 "VP8", 2, 1, 400000, false, false, "", ""};
382 screenshare.screenshare = {true, 10};
383 screenshare.analyzer = {"screenshare_slides_lossy_limited", 0.0, 0.0,
384 kFullStackTestDurationSecs};
385 screenshare.pipe.loss_percent = 5;
386 screenshare.pipe.link_capacity_kbps = 200;
387 screenshare.pipe.queue_length_packets = 30;
388
389 RunTest(screenshare);
390 }
391
377 const VideoQualityTest::Params::Video kSvcVp9Video = { 392 const VideoQualityTest::Params::Video kSvcVp9Video = {
378 true, 1280, 720, 30, 393 true, 1280, 720, 30,
379 800000, 2500000, 2500000, false, 394 800000, 2500000, 2500000, false,
380 "VP9", 3, 2, 400000, 395 "VP9", 3, 2, 400000,
381 false, false, "", "ConferenceMotion_1280_720_50"}; 396 false, false, "", "ConferenceMotion_1280_720_50"};
382 397
383 const VideoQualityTest::Params::Video kSimulcastVp8VideoHigh = { 398 const VideoQualityTest::Params::Video kSimulcastVp8VideoHigh = {
384 true, 1280, 720, 30, 399 true, 1280, 720, 30,
385 800000, 2500000, 2500000, false, 400 800000, 2500000, 2500000, false,
386 "VP8", 3, 2, 400000, 401 "VP8", 3, 2, 400000,
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), 600 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
586 DefaultVideoStream(video_params_medium), 601 DefaultVideoStream(video_params_medium),
587 DefaultVideoStream(video_params_high)}; 602 DefaultVideoStream(video_params_high)};
588 large_room.num_thumbnails = 50; 603 large_room.num_thumbnails = 50;
589 large_room.ss = {streams, 2, 1, 0}; 604 large_room.ss = {streams, 2, 1, 0};
590 RunTest(large_room); 605 RunTest(large_room);
591 } 606 }
592 607
593 608
594 } // namespace webrtc 609 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698