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

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

Issue 2500373002: Configure FlexFEC in VideoQualityTest. (Closed)
Patch Set: Check pointer instead. Created 4 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/screenshare_loopback.cc » ('j') | webrtc/video/video_quality_test.cc » ('J')
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>
11 11
12 #include "webrtc/test/gtest.h" 12 #include "webrtc/test/gtest.h"
13 #include "webrtc/video/video_quality_test.h" 13 #include "webrtc/video/video_quality_test.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 static const int kFullStackTestDurationSecs = 60; 17 static const int kFullStackTestDurationSecs = 60;
18 18
19 class FullStackTest : public VideoQualityTest { 19 class FullStackTest : public VideoQualityTest {
20 public: 20 public:
21 void RunTest(const VideoQualityTest::Params &params) { 21 void RunTest(const VideoQualityTest::Params &params) {
22 RunWithAnalyzer(params); 22 RunWithAnalyzer(params);
23 } 23 }
24 24
25 void ForemanCifWithoutPacketLoss(const std::string& video_codec) { 25 void ForemanCifWithoutPacketLoss(const std::string& video_codec) {
26 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 26 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
27 VideoQualityTest::Params foreman_cif; 27 VideoQualityTest::Params foreman_cif;
28 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, 28 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000,
minyue-webrtc 2016/11/15 12:16:58 I think better not to clang format this file.
brandtr 2016/11/15 13:14:40 Reverted :)
29 video_codec, 1, 0, 0, false, "", "foreman_cif"}; 29 false, video_codec, 1, 0, 0, false, false,
30 "", "foreman_cif"};
30 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_" + video_codec, 31 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_" + video_codec,
31 0.0, 0.0, kFullStackTestDurationSecs}; 32 0.0, 0.0, kFullStackTestDurationSecs};
32 RunTest(foreman_cif); 33 RunTest(foreman_cif);
33 } 34 }
34 35
35 void ForemanCifPlr5(const std::string& video_codec) { 36 void ForemanCifPlr5(const std::string& video_codec) {
36 VideoQualityTest::Params foreman_cif; 37 VideoQualityTest::Params foreman_cif;
37 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, 38 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
38 video_codec, 1, 0, 0, false, "", "foreman_cif"}; 39 false, video_codec, 1, 0, 0, false, false,
40 "", "foreman_cif"};
39 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_" + video_codec, 0.0, 41 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_" + video_codec, 0.0,
40 0.0, kFullStackTestDurationSecs}; 42 0.0, kFullStackTestDurationSecs};
41 foreman_cif.pipe.loss_percent = 5; 43 foreman_cif.pipe.loss_percent = 5;
42 foreman_cif.pipe.queue_delay_ms = 50; 44 foreman_cif.pipe.queue_delay_ms = 50;
43 RunTest(foreman_cif); 45 RunTest(foreman_cif);
44 } 46 }
45 }; 47 };
46 48
47 // VideoQualityTest::Params params = { 49 // VideoQualityTest::Params params = {
48 // { ... }, // Common. 50 // { ... }, // Common.
(...skipping 11 matching lines...) Expand all
60 } 62 }
61 63
62 TEST_F(FullStackTest, ForemanCifPlr5Vp9) { 64 TEST_F(FullStackTest, ForemanCifPlr5Vp9) {
63 ForemanCifPlr5("VP9"); 65 ForemanCifPlr5("VP9");
64 } 66 }
65 #endif // !defined(RTC_DISABLE_VP9) 67 #endif // !defined(RTC_DISABLE_VP9)
66 68
67 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { 69 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) {
68 VideoQualityTest::Params paris_qcif; 70 VideoQualityTest::Params paris_qcif;
69 paris_qcif.call.send_side_bwe = true; 71 paris_qcif.call.send_side_bwe = true;
70 paris_qcif.video = {true, 176, 144, 30, 300000, 300000, 300000, false, 72 paris_qcif.video = {true, 176, 144, 30, 300000, 300000,
71 "VP8", 1, 0, 0, false, "", "paris_qcif"}; 73 300000, false, "VP8", 1, 0, 0,
74 false, false, "", "paris_qcif"};
72 paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96, 75 paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96,
73 kFullStackTestDurationSecs}; 76 kFullStackTestDurationSecs};
74 RunTest(paris_qcif); 77 RunTest(paris_qcif);
75 } 78 }
76 79
77 TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) { 80 TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) {
78 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 81 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
79 VideoQualityTest::Params foreman_cif; 82 VideoQualityTest::Params foreman_cif;
80 foreman_cif.call.send_side_bwe = true; 83 foreman_cif.call.send_side_bwe = true;
81 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8", 84 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000,
82 1, 0, 0, false, "", "foreman_cif"}; 85 false, "VP8", 1, 0, 0, false, false,
86 "", "foreman_cif"};
83 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0, 87 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0,
84 kFullStackTestDurationSecs}; 88 kFullStackTestDurationSecs};
85 RunTest(foreman_cif); 89 RunTest(foreman_cif);
86 } 90 }
87 91
88 TEST_F(FullStackTest, ForemanCifPlr5) { 92 TEST_F(FullStackTest, ForemanCifPlr5) {
89 VideoQualityTest::Params foreman_cif; 93 VideoQualityTest::Params foreman_cif;
90 foreman_cif.call.send_side_bwe = true; 94 foreman_cif.call.send_side_bwe = true;
91 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 95 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
92 1, 0, 0, false, "", "foreman_cif"}; 96 false, "VP8", 1, 0, 0, false, false,
97 "", "foreman_cif"};
93 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0, 98 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0,
94 kFullStackTestDurationSecs}; 99 kFullStackTestDurationSecs};
95 foreman_cif.pipe.loss_percent = 5; 100 foreman_cif.pipe.loss_percent = 5;
96 foreman_cif.pipe.queue_delay_ms = 50; 101 foreman_cif.pipe.queue_delay_ms = 50;
97 RunTest(foreman_cif); 102 RunTest(foreman_cif);
98 } 103 }
99 104
100 TEST_F(FullStackTest, ForemanCif500kbps) { 105 TEST_F(FullStackTest, ForemanCif500kbps) {
101 VideoQualityTest::Params foreman_cif; 106 VideoQualityTest::Params foreman_cif;
102 foreman_cif.call.send_side_bwe = true; 107 foreman_cif.call.send_side_bwe = true;
103 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 108 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
104 1, 0, 0, false, "", "foreman_cif"}; 109 false, "VP8", 1, 0, 0, false, false,
110 "", "foreman_cif"};
105 foreman_cif.analyzer = {"foreman_cif_500kbps", 0.0, 0.0, 111 foreman_cif.analyzer = {"foreman_cif_500kbps", 0.0, 0.0,
106 kFullStackTestDurationSecs}; 112 kFullStackTestDurationSecs};
107 foreman_cif.pipe.queue_length_packets = 0; 113 foreman_cif.pipe.queue_length_packets = 0;
108 foreman_cif.pipe.queue_delay_ms = 0; 114 foreman_cif.pipe.queue_delay_ms = 0;
109 foreman_cif.pipe.link_capacity_kbps = 500; 115 foreman_cif.pipe.link_capacity_kbps = 500;
110 RunTest(foreman_cif); 116 RunTest(foreman_cif);
111 } 117 }
112 118
113 TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) { 119 TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) {
114 VideoQualityTest::Params foreman_cif; 120 VideoQualityTest::Params foreman_cif;
115 foreman_cif.call.send_side_bwe = true; 121 foreman_cif.call.send_side_bwe = true;
116 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 122 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
117 1, 0, 0, false, "", "foreman_cif"}; 123 false, "VP8", 1, 0, 0, false, false,
124 "", "foreman_cif"};
118 foreman_cif.analyzer = {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0, 125 foreman_cif.analyzer = {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0,
119 kFullStackTestDurationSecs}; 126 kFullStackTestDurationSecs};
120 foreman_cif.pipe.queue_length_packets = 32; 127 foreman_cif.pipe.queue_length_packets = 32;
121 foreman_cif.pipe.queue_delay_ms = 0; 128 foreman_cif.pipe.queue_delay_ms = 0;
122 foreman_cif.pipe.link_capacity_kbps = 500; 129 foreman_cif.pipe.link_capacity_kbps = 500;
123 RunTest(foreman_cif); 130 RunTest(foreman_cif);
124 } 131 }
125 132
126 TEST_F(FullStackTest, ForemanCif500kbps100ms) { 133 TEST_F(FullStackTest, ForemanCif500kbps100ms) {
127 VideoQualityTest::Params foreman_cif; 134 VideoQualityTest::Params foreman_cif;
128 foreman_cif.call.send_side_bwe = true; 135 foreman_cif.call.send_side_bwe = true;
129 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 136 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
130 1, 0, 0, false, "", "foreman_cif"}; 137 false, "VP8", 1, 0, 0, false, false,
138 "", "foreman_cif"};
131 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms", 0.0, 0.0, 139 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms", 0.0, 0.0,
132 kFullStackTestDurationSecs}; 140 kFullStackTestDurationSecs};
133 foreman_cif.pipe.queue_length_packets = 0; 141 foreman_cif.pipe.queue_length_packets = 0;
134 foreman_cif.pipe.queue_delay_ms = 100; 142 foreman_cif.pipe.queue_delay_ms = 100;
135 foreman_cif.pipe.link_capacity_kbps = 500; 143 foreman_cif.pipe.link_capacity_kbps = 500;
136 RunTest(foreman_cif); 144 RunTest(foreman_cif);
137 } 145 }
138 146
139 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) { 147 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) {
140 VideoQualityTest::Params foreman_cif; 148 VideoQualityTest::Params foreman_cif;
141 foreman_cif.call.send_side_bwe = true; 149 foreman_cif.call.send_side_bwe = true;
142 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 150 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
143 1, 0, 0, false, "", "foreman_cif"}; 151 false, "VP8", 1, 0, 0, false, false,
152 "", "foreman_cif"};
144 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, 153 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0,
145 kFullStackTestDurationSecs}; 154 kFullStackTestDurationSecs};
146 foreman_cif.pipe.queue_length_packets = 32; 155 foreman_cif.pipe.queue_length_packets = 32;
147 foreman_cif.pipe.queue_delay_ms = 100; 156 foreman_cif.pipe.queue_delay_ms = 100;
148 foreman_cif.pipe.link_capacity_kbps = 500; 157 foreman_cif.pipe.link_capacity_kbps = 500;
149 RunTest(foreman_cif); 158 RunTest(foreman_cif);
150 } 159 }
151 160
152 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) { 161 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) {
153 VideoQualityTest::Params foreman_cif; 162 VideoQualityTest::Params foreman_cif;
154 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 163 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
155 1, 0, 0, false, "", "foreman_cif"}; 164 false, "VP8", 1, 0, 0, false, false,
165 "", "foreman_cif"};
156 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, 166 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0,
157 kFullStackTestDurationSecs}; 167 kFullStackTestDurationSecs};
158 foreman_cif.pipe.queue_length_packets = 32; 168 foreman_cif.pipe.queue_length_packets = 32;
159 foreman_cif.pipe.queue_delay_ms = 100; 169 foreman_cif.pipe.queue_delay_ms = 100;
160 foreman_cif.pipe.link_capacity_kbps = 500; 170 foreman_cif.pipe.link_capacity_kbps = 500;
161 RunTest(foreman_cif); 171 RunTest(foreman_cif);
162 } 172 }
163 173
164 TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) { 174 TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) {
165 VideoQualityTest::Params foreman_cif; 175 VideoQualityTest::Params foreman_cif;
166 foreman_cif.call.send_side_bwe = true; 176 foreman_cif.call.send_side_bwe = true;
167 foreman_cif.video = {true, 352, 288, 30, 30000, 2000000, 2000000, false, 177 foreman_cif.video = {true, 352, 288, 30, 30000, 2000000, 2000000,
168 "VP8", 1, 0, 0, false, "", "foreman_cif"}; 178 false, "VP8", 1, 0, 0, false, false,
179 "", "foreman_cif"};
169 foreman_cif.analyzer = {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0, 180 foreman_cif.analyzer = {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0,
170 kFullStackTestDurationSecs}; 181 kFullStackTestDurationSecs};
171 foreman_cif.pipe.queue_length_packets = 32; 182 foreman_cif.pipe.queue_length_packets = 32;
172 foreman_cif.pipe.queue_delay_ms = 100; 183 foreman_cif.pipe.queue_delay_ms = 100;
173 foreman_cif.pipe.link_capacity_kbps = 1000; 184 foreman_cif.pipe.link_capacity_kbps = 1000;
174 RunTest(foreman_cif); 185 RunTest(foreman_cif);
175 } 186 }
176 187
177 TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) { 188 TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) {
178 VideoQualityTest::Params conf_motion_hd; 189 VideoQualityTest::Params conf_motion_hd;
179 conf_motion_hd.call.send_side_bwe = true; 190 conf_motion_hd.call.send_side_bwe = true;
180 conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, 191 conf_motion_hd.video = {
181 "VP8", 1, 0, 0, false, "", 192 true, 1280, 720, 50,
182 "ConferenceMotion_1280_720_50"}; 193 30000, 3000000, 3000000, false,
194 "VP8", 1, 0, 0,
195 false, false, "", "ConferenceMotion_1280_720_50"};
183 conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue", 196 conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue",
184 0.0, 0.0, kFullStackTestDurationSecs}; 197 0.0, 0.0, kFullStackTestDurationSecs};
185 conf_motion_hd.pipe.queue_length_packets = 32; 198 conf_motion_hd.pipe.queue_length_packets = 32;
186 conf_motion_hd.pipe.queue_delay_ms = 100; 199 conf_motion_hd.pipe.queue_delay_ms = 100;
187 conf_motion_hd.pipe.link_capacity_kbps = 2000; 200 conf_motion_hd.pipe.link_capacity_kbps = 2000;
188 RunTest(conf_motion_hd); 201 RunTest(conf_motion_hd);
189 } 202 }
190 203
191 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { 204 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) {
192 VideoQualityTest::Params screenshare; 205 VideoQualityTest::Params screenshare;
193 screenshare.call.send_side_bwe = true; 206 screenshare.call.send_side_bwe = true;
194 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, 207 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
195 "VP8", 2, 1, 400000, false, "", ""}; 208 "VP8", 2, 1, 400000, false, false, "", ""};
196 screenshare.screenshare = {true, 10}; 209 screenshare.screenshare = {true, 10};
197 screenshare.analyzer = {"screenshare_slides", 0.0, 0.0, 210 screenshare.analyzer = {"screenshare_slides", 0.0, 0.0,
198 kFullStackTestDurationSecs}; 211 kFullStackTestDurationSecs};
199 RunTest(screenshare); 212 RunTest(screenshare);
200 } 213 }
201 214
202 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { 215 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
203 VideoQualityTest::Params config; 216 VideoQualityTest::Params config;
204 config.call.send_side_bwe = true; 217 config.call.send_side_bwe = true;
205 config.video = {true, 1850, 1110 / 2, 5, 50000, 200000, 2000000, false, 218 config.video = {true, 1850, 1110 / 2, 5, 50000, 200000, 2000000, false,
206 "VP8", 2, 1, 400000, false, "", ""}; 219 "VP8", 2, 1, 400000, false, false, "", ""};
207 config.screenshare = {true, 10, 2}; 220 config.screenshare = {true, 10, 2};
208 config.analyzer = {"screenshare_slides_scrolling", 0.0, 0.0, 221 config.analyzer = {"screenshare_slides_scrolling", 0.0, 0.0,
209 kFullStackTestDurationSecs}; 222 kFullStackTestDurationSecs};
210 RunTest(config); 223 RunTest(config);
211 } 224 }
212 225
213 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) { 226 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) {
214 VideoQualityTest::Params screenshare; 227 VideoQualityTest::Params screenshare;
215 screenshare.call.send_side_bwe = true; 228 screenshare.call.send_side_bwe = true;
216 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, 229 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
217 "VP8", 2, 1, 400000, false, "", ""}; 230 "VP8", 2, 1, 400000, false, false, "", ""};
218 screenshare.screenshare = {true, 10}; 231 screenshare.screenshare = {true, 10};
219 screenshare.analyzer = {"screenshare_slides_lossy_net", 0.0, 0.0, 232 screenshare.analyzer = {"screenshare_slides_lossy_net", 0.0, 0.0,
220 kFullStackTestDurationSecs}; 233 kFullStackTestDurationSecs};
221 screenshare.pipe.loss_percent = 5; 234 screenshare.pipe.loss_percent = 5;
222 screenshare.pipe.queue_delay_ms = 200; 235 screenshare.pipe.queue_delay_ms = 200;
223 screenshare.pipe.link_capacity_kbps = 500; 236 screenshare.pipe.link_capacity_kbps = 500;
224 RunTest(screenshare); 237 RunTest(screenshare);
225 } 238 }
226 239
227 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) { 240 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) {
228 VideoQualityTest::Params screenshare; 241 VideoQualityTest::Params screenshare;
229 screenshare.call.send_side_bwe = true; 242 screenshare.call.send_side_bwe = true;
230 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, 243 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
231 "VP8", 2, 1, 400000, false, "", ""}; 244 "VP8", 2, 1, 400000, false, false, "", ""};
232 screenshare.screenshare = {true, 10}; 245 screenshare.screenshare = {true, 10};
233 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0, 246 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0,
234 kFullStackTestDurationSecs}; 247 kFullStackTestDurationSecs};
235 screenshare.pipe.loss_percent = 10; 248 screenshare.pipe.loss_percent = 10;
236 screenshare.pipe.queue_delay_ms = 200; 249 screenshare.pipe.queue_delay_ms = 200;
237 screenshare.pipe.link_capacity_kbps = 500; 250 screenshare.pipe.link_capacity_kbps = 500;
238 RunTest(screenshare); 251 RunTest(screenshare);
239 } 252 }
240 253
241 #if !defined(RTC_DISABLE_VP9) 254 #if !defined(RTC_DISABLE_VP9)
242 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { 255 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) {
243 VideoQualityTest::Params screenshare; 256 VideoQualityTest::Params screenshare;
244 screenshare.call.send_side_bwe = true; 257 screenshare.call.send_side_bwe = true;
245 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, 258 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
246 "VP9", 1, 0, 400000, false, "", ""}; 259 "VP9", 1, 0, 400000, false, false, "", ""};
247 screenshare.screenshare = {true, 10}; 260 screenshare.screenshare = {true, 10};
248 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, 261 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0,
249 kFullStackTestDurationSecs}; 262 kFullStackTestDurationSecs};
250 screenshare.logs = false; 263 screenshare.logs = false;
251 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; 264 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1};
252 RunTest(screenshare); 265 RunTest(screenshare);
253 } 266 }
254 #endif // !defined(RTC_DISABLE_VP9) 267 #endif // !defined(RTC_DISABLE_VP9)
255 } // namespace webrtc 268 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/screenshare_loopback.cc » ('j') | webrtc/video/video_quality_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698