| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |