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

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

Issue 1409993011: Add screenshare perf tests with lossy links (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 5 years, 1 month 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 | webrtc/video/video_quality_test.cc » ('j') | 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { 139 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
140 VideoQualityTest::Params config = { 140 VideoQualityTest::Params config = {
141 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000}, 141 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000},
142 {}, 142 {},
143 {true, 10, 2}, 143 {true, 10, 2},
144 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}}; 144 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}};
145 RunTest(config); 145 RunTest(config);
146 } 146 }
147 147
148 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) {
149 VideoQualityTest::Params screenshare = {
150 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000},
151 {}, // Video-specific.
152 {true, 10}, // Screenshare-specific.
153 {"screenshare_slides_lossy_net", 0.0, 0.0, kFullStackTestDurationSecs}};
154 screenshare.pipe.loss_percent = 5;
155 screenshare.pipe.queue_delay_ms = 200;
156 screenshare.pipe.link_capacity_kbps = 500;
157 RunTest(screenshare);
158 }
159
160 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) {
161 VideoQualityTest::Params screenshare = {
162 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000},
163 {}, // Video-specific.
164 {true, 10}, // Screenshare-specific.
165 {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}};
166 screenshare.pipe.loss_percent = 10;
167 screenshare.pipe.queue_delay_ms = 200;
168 screenshare.pipe.link_capacity_kbps = 500;
169 RunTest(screenshare);
170 }
171
148 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { 172 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) {
149 VideoQualityTest::Params screenshare = { 173 VideoQualityTest::Params screenshare = {
150 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 1, 0, 400000}, 174 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 1, 0, 400000},
151 {}, 175 {},
152 {true, 10}, 176 {true, 10},
153 {"screenshare_slides_vp9_2sl", 0.0, 0.0, kFullStackTestDurationSecs}, 177 {"screenshare_slides_vp9_2sl", 0.0, 0.0, kFullStackTestDurationSecs},
154 {}, 178 {},
155 false, 179 false,
156 {std::vector<VideoStream>(), 0, 2, 1}}; 180 {std::vector<VideoStream>(), 0, 2, 1}};
157 RunTest(screenshare); 181 RunTest(screenshare);
158 } 182 }
159 } // namespace webrtc 183 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698