pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | #include <stdio.h> |
| 11 | |
kwiberg | 77eab70 | 2016-09-28 17:42:01 -0700 | [diff] [blame] | 12 | #include "webrtc/test/gtest.h" |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 13 | #include "webrtc/video/video_quality_test.h" |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 14 | |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 15 | namespace webrtc { |
| 16 | |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 17 | static const int kFullStackTestDurationSecs = 60; |
pbos@webrtc.org | b613b5a | 2013-12-03 10:13:04 +0000 | [diff] [blame] | 18 | |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 19 | class FullStackTest : public VideoQualityTest { |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 20 | public: |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 21 | void RunTest(const VideoQualityTest::Params ¶ms) { |
| 22 | RunWithAnalyzer(params); |
pbos@webrtc.org | 9401524 | 2013-10-16 11:05:37 +0000 | [diff] [blame] | 23 | } |
asapersson | 88b0a22 | 2016-02-12 13:16:43 -0800 | [diff] [blame] | 24 | |
| 25 | void ForemanCifWithoutPacketLoss(const std::string& video_codec) { |
| 26 | // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 27 | VideoQualityTest::Params foreman_cif; |
| 28 | foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 29 | video_codec, 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 30 | foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_" + video_codec, |
| 31 | 0.0, 0.0, kFullStackTestDurationSecs}; |
asapersson | 88b0a22 | 2016-02-12 13:16:43 -0800 | [diff] [blame] | 32 | RunTest(foreman_cif); |
| 33 | } |
| 34 | |
| 35 | void ForemanCifPlr5(const std::string& video_codec) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 36 | VideoQualityTest::Params foreman_cif; |
| 37 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 38 | video_codec, 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 39 | foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_" + video_codec, 0.0, |
| 40 | 0.0, kFullStackTestDurationSecs}; |
asapersson | 88b0a22 | 2016-02-12 13:16:43 -0800 | [diff] [blame] | 41 | foreman_cif.pipe.loss_percent = 5; |
| 42 | foreman_cif.pipe.queue_delay_ms = 50; |
| 43 | RunTest(foreman_cif); |
| 44 | } |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 45 | }; |
| 46 | |
sprang | ce4aef1 | 2015-11-02 07:23:20 -0800 | [diff] [blame] | 47 | // VideoQualityTest::Params params = { |
| 48 | // { ... }, // Common. |
| 49 | // { ... }, // Video-specific settings. |
| 50 | // { ... }, // Screenshare-specific settings. |
| 51 | // { ... }, // Analyzer settings. |
| 52 | // pipe, // FakeNetworkPipe::Config |
| 53 | // { ... }, // Spatial scalability. |
| 54 | // logs // bool |
| 55 | // }; |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 56 | |
Peter Boström | 1299615 | 2016-05-14 02:03:18 +0200 | [diff] [blame] | 57 | #if !defined(RTC_DISABLE_VP9) |
asapersson | 88b0a22 | 2016-02-12 13:16:43 -0800 | [diff] [blame] | 58 | TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) { |
| 59 | ForemanCifWithoutPacketLoss("VP9"); |
| 60 | } |
| 61 | |
| 62 | TEST_F(FullStackTest, ForemanCifPlr5Vp9) { |
| 63 | ForemanCifPlr5("VP9"); |
| 64 | } |
Peter Boström | 1299615 | 2016-05-14 02:03:18 +0200 | [diff] [blame] | 65 | #endif // !defined(RTC_DISABLE_VP9) |
asapersson | 88b0a22 | 2016-02-12 13:16:43 -0800 | [diff] [blame] | 66 | |
pbos@webrtc.org | 994d0b7 | 2014-06-27 08:47:52 +0000 | [diff] [blame] | 67 | TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 68 | VideoQualityTest::Params paris_qcif; |
| 69 | paris_qcif.call.send_side_bwe = true; |
| 70 | paris_qcif.video = {true, 176, 144, 30, 300000, 300000, 300000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 71 | "VP8", 1, 0, 0, false, false, "", "paris_qcif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 72 | paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96, |
| 73 | kFullStackTestDurationSecs}; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 74 | RunTest(paris_qcif); |
pbos@webrtc.org | 994d0b7 | 2014-06-27 08:47:52 +0000 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) { |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 78 | // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 79 | VideoQualityTest::Params foreman_cif; |
| 80 | foreman_cif.call.send_side_bwe = true; |
| 81 | foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 82 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 83 | foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0, |
| 84 | kFullStackTestDurationSecs}; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 85 | RunTest(foreman_cif); |
pbos@webrtc.org | 994d0b7 | 2014-06-27 08:47:52 +0000 | [diff] [blame] | 86 | } |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 87 | |
sprang@webrtc.org | 343096a | 2015-02-23 08:34:17 +0000 | [diff] [blame] | 88 | TEST_F(FullStackTest, ForemanCifPlr5) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 89 | VideoQualityTest::Params foreman_cif; |
| 90 | foreman_cif.call.send_side_bwe = true; |
| 91 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 92 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 93 | foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0, |
| 94 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 95 | foreman_cif.pipe.loss_percent = 5; |
| 96 | foreman_cif.pipe.queue_delay_ms = 50; |
stefan@webrtc.org | c216b9a | 2014-10-14 10:38:49 +0000 | [diff] [blame] | 97 | RunTest(foreman_cif); |
| 98 | } |
| 99 | |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 100 | TEST_F(FullStackTest, ForemanCif500kbps) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 101 | VideoQualityTest::Params foreman_cif; |
| 102 | foreman_cif.call.send_side_bwe = true; |
| 103 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 104 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 105 | foreman_cif.analyzer = {"foreman_cif_500kbps", 0.0, 0.0, |
| 106 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 107 | foreman_cif.pipe.queue_length_packets = 0; |
| 108 | foreman_cif.pipe.queue_delay_ms = 0; |
| 109 | foreman_cif.pipe.link_capacity_kbps = 500; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 110 | RunTest(foreman_cif); |
| 111 | } |
| 112 | |
| 113 | TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 114 | VideoQualityTest::Params foreman_cif; |
| 115 | foreman_cif.call.send_side_bwe = true; |
| 116 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 117 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 118 | foreman_cif.analyzer = {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0, |
| 119 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 120 | foreman_cif.pipe.queue_length_packets = 32; |
| 121 | foreman_cif.pipe.queue_delay_ms = 0; |
| 122 | foreman_cif.pipe.link_capacity_kbps = 500; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 123 | RunTest(foreman_cif); |
| 124 | } |
| 125 | |
| 126 | TEST_F(FullStackTest, ForemanCif500kbps100ms) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 127 | VideoQualityTest::Params foreman_cif; |
| 128 | foreman_cif.call.send_side_bwe = true; |
| 129 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 130 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 131 | foreman_cif.analyzer = {"foreman_cif_500kbps_100ms", 0.0, 0.0, |
| 132 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 133 | foreman_cif.pipe.queue_length_packets = 0; |
| 134 | foreman_cif.pipe.queue_delay_ms = 100; |
| 135 | foreman_cif.pipe.link_capacity_kbps = 500; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 136 | RunTest(foreman_cif); |
| 137 | } |
| 138 | |
| 139 | TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 140 | VideoQualityTest::Params foreman_cif; |
| 141 | foreman_cif.call.send_side_bwe = true; |
| 142 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 143 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 144 | foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, |
| 145 | kFullStackTestDurationSecs}; |
stefan | b179767 | 2016-08-11 07:00:57 -0700 | [diff] [blame] | 146 | foreman_cif.pipe.queue_length_packets = 32; |
| 147 | foreman_cif.pipe.queue_delay_ms = 100; |
| 148 | foreman_cif.pipe.link_capacity_kbps = 500; |
| 149 | RunTest(foreman_cif); |
| 150 | } |
| 151 | |
| 152 | TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 153 | VideoQualityTest::Params foreman_cif; |
| 154 | foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 155 | 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 156 | foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0, |
| 157 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 158 | foreman_cif.pipe.queue_length_packets = 32; |
| 159 | foreman_cif.pipe.queue_delay_ms = 100; |
| 160 | foreman_cif.pipe.link_capacity_kbps = 500; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 161 | RunTest(foreman_cif); |
| 162 | } |
| 163 | |
| 164 | TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 165 | VideoQualityTest::Params foreman_cif; |
| 166 | foreman_cif.call.send_side_bwe = true; |
| 167 | foreman_cif.video = {true, 352, 288, 30, 30000, 2000000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 168 | "VP8", 1, 0, 0, false, false, "", "foreman_cif"}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 169 | foreman_cif.analyzer = {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0, |
| 170 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 171 | foreman_cif.pipe.queue_length_packets = 32; |
| 172 | foreman_cif.pipe.queue_delay_ms = 100; |
| 173 | foreman_cif.pipe.link_capacity_kbps = 1000; |
stefan@webrtc.org | b8e9e44 | 2014-07-09 11:29:06 +0000 | [diff] [blame] | 174 | RunTest(foreman_cif); |
| 175 | } |
sprang@webrtc.org | 131bea8 | 2015-02-18 12:46:06 +0000 | [diff] [blame] | 176 | |
stefan | b179767 | 2016-08-11 07:00:57 -0700 | [diff] [blame] | 177 | TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 178 | VideoQualityTest::Params conf_motion_hd; |
| 179 | conf_motion_hd.call.send_side_bwe = true; |
| 180 | conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 181 | "VP8", 1, 0, 0, false, false, "", |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 182 | "ConferenceMotion_1280_720_50"}; |
| 183 | conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue", |
| 184 | 0.0, 0.0, kFullStackTestDurationSecs}; |
stefan | b179767 | 2016-08-11 07:00:57 -0700 | [diff] [blame] | 185 | conf_motion_hd.pipe.queue_length_packets = 32; |
| 186 | conf_motion_hd.pipe.queue_delay_ms = 100; |
| 187 | conf_motion_hd.pipe.link_capacity_kbps = 2000; |
| 188 | RunTest(conf_motion_hd); |
| 189 | } |
| 190 | |
ivica | 7bd242e | 2015-10-06 02:04:06 -0700 | [diff] [blame] | 191 | TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 192 | VideoQualityTest::Params screenshare; |
| 193 | screenshare.call.send_side_bwe = true; |
| 194 | screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 195 | "VP8", 2, 1, 400000, false, false, "", ""}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 196 | screenshare.screenshare = {true, 10}; |
| 197 | screenshare.analyzer = {"screenshare_slides", 0.0, 0.0, |
| 198 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 199 | RunTest(screenshare); |
Erik Språng | 6ee69aa | 2015-09-03 15:58:05 +0200 | [diff] [blame] | 200 | } |
| 201 | |
ivica | 7bd242e | 2015-10-06 02:04:06 -0700 | [diff] [blame] | 202 | TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 203 | VideoQualityTest::Params config; |
| 204 | config.call.send_side_bwe = true; |
| 205 | config.video = {true, 1850, 1110 / 2, 5, 50000, 200000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 206 | "VP8", 2, 1, 400000, false, false, "", ""}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 207 | config.screenshare = {true, 10, 2}; |
| 208 | config.analyzer = {"screenshare_slides_scrolling", 0.0, 0.0, |
| 209 | kFullStackTestDurationSecs}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 210 | RunTest(config); |
ivica | 028cf48 | 2015-07-30 02:15:56 -0700 | [diff] [blame] | 211 | } |
| 212 | |
sprang | ee37de3 | 2015-11-23 06:10:23 -0800 | [diff] [blame] | 213 | TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 214 | VideoQualityTest::Params screenshare; |
| 215 | screenshare.call.send_side_bwe = true; |
| 216 | screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 217 | "VP8", 2, 1, 400000, false, false, "", ""}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 218 | screenshare.screenshare = {true, 10}; |
| 219 | screenshare.analyzer = {"screenshare_slides_lossy_net", 0.0, 0.0, |
| 220 | kFullStackTestDurationSecs}; |
sprang | ee37de3 | 2015-11-23 06:10:23 -0800 | [diff] [blame] | 221 | screenshare.pipe.loss_percent = 5; |
| 222 | screenshare.pipe.queue_delay_ms = 200; |
| 223 | screenshare.pipe.link_capacity_kbps = 500; |
| 224 | RunTest(screenshare); |
| 225 | } |
| 226 | |
| 227 | TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 228 | VideoQualityTest::Params screenshare; |
| 229 | screenshare.call.send_side_bwe = true; |
| 230 | screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 231 | "VP8", 2, 1, 400000, false, false, "", ""}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 232 | screenshare.screenshare = {true, 10}; |
| 233 | screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0, |
| 234 | kFullStackTestDurationSecs}; |
sprang | ee37de3 | 2015-11-23 06:10:23 -0800 | [diff] [blame] | 235 | screenshare.pipe.loss_percent = 10; |
| 236 | screenshare.pipe.queue_delay_ms = 200; |
| 237 | screenshare.pipe.link_capacity_kbps = 500; |
| 238 | RunTest(screenshare); |
| 239 | } |
| 240 | |
Peter Boström | 1299615 | 2016-05-14 02:03:18 +0200 | [diff] [blame] | 241 | #if !defined(RTC_DISABLE_VP9) |
philipel | cfc319b | 2015-11-10 07:17:23 -0800 | [diff] [blame] | 242 | TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 243 | VideoQualityTest::Params screenshare; |
| 244 | screenshare.call.send_side_bwe = true; |
| 245 | screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false, |
brandtr | 1293aca | 2016-11-16 22:47:29 -0800 | [diff] [blame^] | 246 | "VP9", 1, 0, 400000, false, false, "", ""}; |
minyue | 626bc95 | 2016-10-31 05:47:02 -0700 | [diff] [blame] | 247 | screenshare.screenshare = {true, 10}; |
| 248 | screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, |
| 249 | kFullStackTestDurationSecs}; |
| 250 | screenshare.logs = false; |
| 251 | screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; |
ivica | 5d6a06c | 2015-09-17 05:30:24 -0700 | [diff] [blame] | 252 | RunTest(screenshare); |
sprang@webrtc.org | 131bea8 | 2015-02-18 12:46:06 +0000 | [diff] [blame] | 253 | } |
Peter Boström | 1299615 | 2016-05-14 02:03:18 +0200 | [diff] [blame] | 254 | #endif // !defined(RTC_DISABLE_VP9) |
pbos@webrtc.org | af8d5af | 2013-07-09 08:02:33 +0000 | [diff] [blame] | 255 | } // namespace webrtc |