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

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

Issue 2466473002: Reland of "Separating video settings in VideoQualityTest". (Closed)
Patch Set: fixing 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') | 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>
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 {352, 288, 30, 700000, 700000, 700000, false, video_codec, 1}, 28 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false,
29 {"foreman_cif"}, 29 video_codec, 1, 0, 0, false, "", "foreman_cif"};
30 {}, 30 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_" + video_codec,
31 {"foreman_cif_net_delay_0_0_plr_0_" + video_codec, 0.0, 0.0, 31 0.0, 0.0, kFullStackTestDurationSecs};
32 kFullStackTestDurationSecs}};
33 RunTest(foreman_cif); 32 RunTest(foreman_cif);
34 } 33 }
35 34
36 void ForemanCifPlr5(const std::string& video_codec) { 35 void ForemanCifPlr5(const std::string& video_codec) {
37 VideoQualityTest::Params foreman_cif = { 36 VideoQualityTest::Params foreman_cif;
38 {352, 288, 30, 30000, 500000, 2000000, false, video_codec, 1}, 37 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
39 {"foreman_cif"}, 38 video_codec, 1, 0, 0, false, "", "foreman_cif"};
40 {}, 39 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_" + video_codec, 0.0,
41 {"foreman_cif_delay_50_0_plr_5_" + video_codec, 0.0, 0.0, 40 0.0, kFullStackTestDurationSecs};
42 kFullStackTestDurationSecs}};
43 foreman_cif.pipe.loss_percent = 5; 41 foreman_cif.pipe.loss_percent = 5;
44 foreman_cif.pipe.queue_delay_ms = 50; 42 foreman_cif.pipe.queue_delay_ms = 50;
45 RunTest(foreman_cif); 43 RunTest(foreman_cif);
46 } 44 }
47 }; 45 };
48 46
49 // VideoQualityTest::Params params = { 47 // VideoQualityTest::Params params = {
50 // { ... }, // Common. 48 // { ... }, // Common.
51 // { ... }, // Video-specific settings. 49 // { ... }, // Video-specific settings.
52 // { ... }, // Screenshare-specific settings. 50 // { ... }, // Screenshare-specific settings.
53 // { ... }, // Analyzer settings. 51 // { ... }, // Analyzer settings.
54 // pipe, // FakeNetworkPipe::Config 52 // pipe, // FakeNetworkPipe::Config
55 // { ... }, // Spatial scalability. 53 // { ... }, // Spatial scalability.
56 // logs // bool 54 // logs // bool
57 // }; 55 // };
58 56
59 #if !defined(RTC_DISABLE_VP9) 57 #if !defined(RTC_DISABLE_VP9)
60 TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) { 58 TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) {
61 ForemanCifWithoutPacketLoss("VP9"); 59 ForemanCifWithoutPacketLoss("VP9");
62 } 60 }
63 61
64 TEST_F(FullStackTest, ForemanCifPlr5Vp9) { 62 TEST_F(FullStackTest, ForemanCifPlr5Vp9) {
65 ForemanCifPlr5("VP9"); 63 ForemanCifPlr5("VP9");
66 } 64 }
67 #endif // !defined(RTC_DISABLE_VP9) 65 #endif // !defined(RTC_DISABLE_VP9)
68 66
69 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { 67 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) {
70 VideoQualityTest::Params paris_qcif = { 68 VideoQualityTest::Params paris_qcif;
71 {176, 144, 30, 300000, 300000, 300000, false, "VP8", 1, 0, 0, true}, 69 paris_qcif.call.send_side_bwe = true;
72 {"paris_qcif"}, 70 paris_qcif.video = {true, 176, 144, 30, 300000, 300000, 300000, false,
73 {}, 71 "VP8", 1, 0, 0, false, "", "paris_qcif"};
minyue-webrtc 2016/10/31 10:52:22 13th param in the new struct is fec, which was fal
74 {"net_delay_0_0_plr_0", 36.0, 0.96, kFullStackTestDurationSecs}}; 72 paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96,
73 kFullStackTestDurationSecs};
75 RunTest(paris_qcif); 74 RunTest(paris_qcif);
76 } 75 }
77 76
78 TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) { 77 TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) {
79 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 78 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
80 VideoQualityTest::Params foreman_cif = { 79 VideoQualityTest::Params foreman_cif;
81 {352, 288, 30, 700000, 700000, 700000, false, "VP8", 1, 0, 0, true}, 80 foreman_cif.call.send_side_bwe = true;
82 {"foreman_cif"}, 81 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8",
83 {}, 82 1, 0, 0, false, "", "foreman_cif"};
84 {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0, 83 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0,
85 kFullStackTestDurationSecs}}; 84 kFullStackTestDurationSecs};
86 RunTest(foreman_cif); 85 RunTest(foreman_cif);
87 } 86 }
88 87
89 TEST_F(FullStackTest, ForemanCifPlr5) { 88 TEST_F(FullStackTest, ForemanCifPlr5) {
90 VideoQualityTest::Params foreman_cif = { 89 VideoQualityTest::Params foreman_cif;
91 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, true}, 90 foreman_cif.call.send_side_bwe = true;
92 {"foreman_cif"}, 91 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
93 {}, 92 1, 0, 0, false, "", "foreman_cif"};
94 {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0, kFullStackTestDurationSecs}}; 93 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0,
94 kFullStackTestDurationSecs};
95 foreman_cif.pipe.loss_percent = 5; 95 foreman_cif.pipe.loss_percent = 5;
96 foreman_cif.pipe.queue_delay_ms = 50; 96 foreman_cif.pipe.queue_delay_ms = 50;
97 RunTest(foreman_cif); 97 RunTest(foreman_cif);
98 } 98 }
99 99
100 TEST_F(FullStackTest, ForemanCif500kbps) { 100 TEST_F(FullStackTest, ForemanCif500kbps) {
101 VideoQualityTest::Params foreman_cif = { 101 VideoQualityTest::Params foreman_cif;
102 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, true}, 102 foreman_cif.call.send_side_bwe = true;
103 {"foreman_cif"}, 103 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
104 {}, 104 1, 0, 0, false, "", "foreman_cif"};
105 {"foreman_cif_500kbps", 0.0, 0.0, kFullStackTestDurationSecs}}; 105 foreman_cif.analyzer = {"foreman_cif_500kbps", 0.0, 0.0,
106 kFullStackTestDurationSecs};
106 foreman_cif.pipe.queue_length_packets = 0; 107 foreman_cif.pipe.queue_length_packets = 0;
107 foreman_cif.pipe.queue_delay_ms = 0; 108 foreman_cif.pipe.queue_delay_ms = 0;
108 foreman_cif.pipe.link_capacity_kbps = 500; 109 foreman_cif.pipe.link_capacity_kbps = 500;
109 RunTest(foreman_cif); 110 RunTest(foreman_cif);
110 } 111 }
111 112
112 TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) { 113 TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) {
113 VideoQualityTest::Params foreman_cif = { 114 VideoQualityTest::Params foreman_cif;
114 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, true}, 115 foreman_cif.call.send_side_bwe = true;
115 {"foreman_cif"}, 116 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
116 {}, 117 1, 0, 0, false, "", "foreman_cif"};
117 {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0, 118 foreman_cif.analyzer = {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0,
118 kFullStackTestDurationSecs}}; 119 kFullStackTestDurationSecs};
119 foreman_cif.pipe.queue_length_packets = 32; 120 foreman_cif.pipe.queue_length_packets = 32;
120 foreman_cif.pipe.queue_delay_ms = 0; 121 foreman_cif.pipe.queue_delay_ms = 0;
121 foreman_cif.pipe.link_capacity_kbps = 500; 122 foreman_cif.pipe.link_capacity_kbps = 500;
122 RunTest(foreman_cif); 123 RunTest(foreman_cif);
123 } 124 }
124 125
125 TEST_F(FullStackTest, ForemanCif500kbps100ms) { 126 TEST_F(FullStackTest, ForemanCif500kbps100ms) {
126 VideoQualityTest::Params foreman_cif = { 127 VideoQualityTest::Params foreman_cif;
127 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, true}, 128 foreman_cif.call.send_side_bwe = true;
128 {"foreman_cif"}, 129 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
129 {}, 130 1, 0, 0, false, "", "foreman_cif"};
130 {"foreman_cif_500kbps_100ms", 0.0, 0.0, kFullStackTestDurationSecs}}; 131 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms", 0.0, 0.0,
132 kFullStackTestDurationSecs};
131 foreman_cif.pipe.queue_length_packets = 0; 133 foreman_cif.pipe.queue_length_packets = 0;
132 foreman_cif.pipe.queue_delay_ms = 100; 134 foreman_cif.pipe.queue_delay_ms = 100;
133 foreman_cif.pipe.link_capacity_kbps = 500; 135 foreman_cif.pipe.link_capacity_kbps = 500;
134 RunTest(foreman_cif); 136 RunTest(foreman_cif);
135 } 137 }
136 138
137 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) { 139 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) {
138 VideoQualityTest::Params foreman_cif = { 140 VideoQualityTest::Params foreman_cif;
139 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, true}, 141 foreman_cif.call.send_side_bwe = true;
140 {"foreman_cif"}, 142 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
141 {}, 143 1, 0, 0, false, "", "foreman_cif"};
142 {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, 144 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0,
143 kFullStackTestDurationSecs}}; 145 kFullStackTestDurationSecs};
144 foreman_cif.pipe.queue_length_packets = 32; 146 foreman_cif.pipe.queue_length_packets = 32;
145 foreman_cif.pipe.queue_delay_ms = 100; 147 foreman_cif.pipe.queue_delay_ms = 100;
146 foreman_cif.pipe.link_capacity_kbps = 500; 148 foreman_cif.pipe.link_capacity_kbps = 500;
147 RunTest(foreman_cif); 149 RunTest(foreman_cif);
148 } 150 }
149 151
150 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) { 152 TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) {
151 VideoQualityTest::Params foreman_cif = { 153 VideoQualityTest::Params foreman_cif;
152 {352, 288, 30, 30000, 500000, 2000000, false, "VP8", 1, 0, 0, false}, 154 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
153 {"foreman_cif"}, 155 1, 0, 0, false, "", "foreman_cif"};
154 {}, 156 foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0,
155 {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, 157 kFullStackTestDurationSecs};
156 kFullStackTestDurationSecs}};
157 foreman_cif.pipe.queue_length_packets = 32; 158 foreman_cif.pipe.queue_length_packets = 32;
158 foreman_cif.pipe.queue_delay_ms = 100; 159 foreman_cif.pipe.queue_delay_ms = 100;
159 foreman_cif.pipe.link_capacity_kbps = 500; 160 foreman_cif.pipe.link_capacity_kbps = 500;
160 RunTest(foreman_cif); 161 RunTest(foreman_cif);
161 } 162 }
162 163
163 TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) { 164 TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) {
164 VideoQualityTest::Params foreman_cif = { 165 VideoQualityTest::Params foreman_cif;
165 {352, 288, 30, 30000, 2000000, 2000000, false, "VP8", 1, 0, 0, true}, 166 foreman_cif.call.send_side_bwe = true;
166 {"foreman_cif"}, 167 foreman_cif.video = {true, 352, 288, 30, 30000, 2000000, 2000000, false,
167 {}, 168 "VP8", 1, 0, 0, false, "", "foreman_cif"};
168 {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0, 169 foreman_cif.analyzer = {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0,
169 kFullStackTestDurationSecs}}; 170 kFullStackTestDurationSecs};
170 foreman_cif.pipe.queue_length_packets = 32; 171 foreman_cif.pipe.queue_length_packets = 32;
171 foreman_cif.pipe.queue_delay_ms = 100; 172 foreman_cif.pipe.queue_delay_ms = 100;
172 foreman_cif.pipe.link_capacity_kbps = 1000; 173 foreman_cif.pipe.link_capacity_kbps = 1000;
173 RunTest(foreman_cif); 174 RunTest(foreman_cif);
174 } 175 }
175 176
176 TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) { 177 TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) {
177 VideoQualityTest::Params conf_motion_hd = { 178 VideoQualityTest::Params conf_motion_hd;
178 {1280, 720, 50, 30000, 3000000, 3000000, false, "VP8", 1, 0, 0, true}, 179 conf_motion_hd.call.send_side_bwe = true;
179 {"ConferenceMotion_1280_720_50"}, 180 conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false,
180 {}, 181 "VP8", 1, 0, 0, false, "",
181 {"conference_motion_hd_2000kbps_100ms_32pkts_queue", 0.0, 0.0, 182 "ConferenceMotion_1280_720_50"};
182 kFullStackTestDurationSecs}}; 183 conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue",
184 0.0, 0.0, kFullStackTestDurationSecs};
183 conf_motion_hd.pipe.queue_length_packets = 32; 185 conf_motion_hd.pipe.queue_length_packets = 32;
184 conf_motion_hd.pipe.queue_delay_ms = 100; 186 conf_motion_hd.pipe.queue_delay_ms = 100;
185 conf_motion_hd.pipe.link_capacity_kbps = 2000; 187 conf_motion_hd.pipe.link_capacity_kbps = 2000;
186 RunTest(conf_motion_hd); 188 RunTest(conf_motion_hd);
187 } 189 }
188 190
189 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { 191 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) {
190 VideoQualityTest::Params screenshare = { 192 VideoQualityTest::Params screenshare;
191 {1850, 1110, 5, 50000, 200000, 2000000, false, "VP8", 2, 1, 400000, true}, 193 screenshare.call.send_side_bwe = true;
192 {}, 194 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
193 {true, 10}, 195 "VP8", 2, 1, 400000, false, "", ""};
194 {"screenshare_slides", 0.0, 0.0, kFullStackTestDurationSecs}}; 196 screenshare.screenshare = {true, 10};
197 screenshare.analyzer = {"screenshare_slides", 0.0, 0.0,
198 kFullStackTestDurationSecs};
195 RunTest(screenshare); 199 RunTest(screenshare);
196 } 200 }
197 201
198 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { 202 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
199 VideoQualityTest::Params config = { 203 VideoQualityTest::Params config;
200 {1850, 1110 / 2, 5, 50000, 200000, 2000000, false, "VP8", 2, 1, 400000, 204 config.call.send_side_bwe = true;
201 true}, 205 config.video = {true, 1850, 1110 / 2, 5, 50000, 200000, 2000000, false,
202 {}, 206 "VP8", 2, 1, 400000, false, "", ""};
203 {true, 10, 2}, 207 config.screenshare = {true, 10, 2};
204 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}}; 208 config.analyzer = {"screenshare_slides_scrolling", 0.0, 0.0,
209 kFullStackTestDurationSecs};
205 RunTest(config); 210 RunTest(config);
206 } 211 }
207 212
208 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) { 213 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) {
209 VideoQualityTest::Params screenshare = { 214 VideoQualityTest::Params screenshare;
210 {1850, 1110, 5, 50000, 200000, 2000000, false, "VP8", 2, 1, 400000, true}, 215 screenshare.call.send_side_bwe = true;
211 {}, // Video-specific. 216 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
212 {true, 10}, // Screenshare-specific. 217 "VP8", 2, 1, 400000, false, "", ""};
213 {"screenshare_slides_lossy_net", 0.0, 0.0, kFullStackTestDurationSecs}}; 218 screenshare.screenshare = {true, 10};
219 screenshare.analyzer = {"screenshare_slides_lossy_net", 0.0, 0.0,
220 kFullStackTestDurationSecs};
214 screenshare.pipe.loss_percent = 5; 221 screenshare.pipe.loss_percent = 5;
215 screenshare.pipe.queue_delay_ms = 200; 222 screenshare.pipe.queue_delay_ms = 200;
216 screenshare.pipe.link_capacity_kbps = 500; 223 screenshare.pipe.link_capacity_kbps = 500;
217 RunTest(screenshare); 224 RunTest(screenshare);
218 } 225 }
219 226
220 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) { 227 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) {
221 VideoQualityTest::Params screenshare = { 228 VideoQualityTest::Params screenshare;
222 {1850, 1110, 5, 50000, 200000, 2000000, false, "VP8", 2, 1, 400000, true}, 229 screenshare.call.send_side_bwe = true;
223 {}, // Video-specific. 230 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
224 {true, 10}, // Screenshare-specific. 231 "VP8", 2, 1, 400000, false, "", ""};
225 {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}}; 232 screenshare.screenshare = {true, 10};
233 screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0,
234 kFullStackTestDurationSecs};
226 screenshare.pipe.loss_percent = 10; 235 screenshare.pipe.loss_percent = 10;
227 screenshare.pipe.queue_delay_ms = 200; 236 screenshare.pipe.queue_delay_ms = 200;
228 screenshare.pipe.link_capacity_kbps = 500; 237 screenshare.pipe.link_capacity_kbps = 500;
229 RunTest(screenshare); 238 RunTest(screenshare);
230 } 239 }
231 240
232 #if !defined(RTC_DISABLE_VP9) 241 #if !defined(RTC_DISABLE_VP9)
233 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { 242 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) {
234 VideoQualityTest::Params screenshare = { 243 VideoQualityTest::Params screenshare;
235 {1850, 1110, 5, 50000, 200000, 2000000, false, "VP9", 1, 0, 400000, true}, 244 screenshare.call.send_side_bwe = true;
236 {}, 245 screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
237 {true, 10}, 246 "VP9", 1, 0, 400000, false, "", ""};
238 {"screenshare_slides_vp9_2sl", 0.0, 0.0, kFullStackTestDurationSecs}, 247 screenshare.screenshare = {true, 10};
239 {}, 248 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0,
240 false, 249 kFullStackTestDurationSecs};
241 {std::vector<VideoStream>(), 0, 2, 1}}; 250 screenshare.logs = false;
251 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1};
242 RunTest(screenshare); 252 RunTest(screenshare);
243 } 253 }
244 #endif // !defined(RTC_DISABLE_VP9) 254 #endif // !defined(RTC_DISABLE_VP9)
245 } // namespace webrtc 255 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/screenshare_loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698