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

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

Issue 1409513005: Add screenshare perf tests with lossy links (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { 130 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
131 VideoQualityTest::Params config = { 131 VideoQualityTest::Params config = {
132 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 400000}, 132 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
133 {}, 133 {},
134 {true, 10, 2}, 134 {true, 10, 2},
135 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}}; 135 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}};
136 RunTest(config); 136 RunTest(config);
137 } 137 }
138 138
139 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) {
140 VideoQualityTest::Params screenshare = {
141 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
142 {}, // Video-specific.
143 {true, 10}, // Screenshare-specific.
144 {"screenshare_slides_lossy_net", 0.0, 0.0, kFullStackTestDurationSecs}};
145 screenshare.pipe.loss_percent = 5;
146 screenshare.pipe.queue_delay_ms = 200;
147 screenshare.pipe.link_capacity_kbps = 500;
148 RunTest(screenshare);
149 }
150
151 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) {
152 VideoQualityTest::Params screenshare = {
153 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
154 {}, // Video-specific.
155 {true, 10}, // Screenshare-specific.
156 {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}};
157 screenshare.pipe.loss_percent = 10;
158 screenshare.pipe.queue_delay_ms = 200;
159 screenshare.pipe.link_capacity_kbps = 500;
160 RunTest(screenshare);
161 }
162
139 TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) { 163 TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) {
140 VideoQualityTest::Params screenshare = { 164 VideoQualityTest::Params screenshare = {
141 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000}, 165 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000},
142 {}, 166 {},
143 {true, 10}, 167 {true, 10},
144 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}}; 168 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}};
145 RunTest(screenshare); 169 RunTest(screenshare);
146 } 170 }
147 } // namespace webrtc 171 } // 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