Index: webrtc/video/full_stack.cc |
diff --git a/webrtc/video/full_stack.cc b/webrtc/video/full_stack.cc |
index 8511b8281e91ab97f3b655302760d053fc0d1404..9483f6e861e2434bfb78e8ea5291d7d3d3eafe3f 100644 |
--- a/webrtc/video/full_stack.cc |
+++ b/webrtc/video/full_stack.cc |
@@ -136,6 +136,30 @@ TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { |
RunTest(config); |
} |
+TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) { |
+ VideoQualityTest::Params screenshare = { |
+ {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000}, |
+ {}, // Video-specific. |
+ {true, 10}, // Screenshare-specific. |
+ {"screenshare_slides_lossy_net", 0.0, 0.0, kFullStackTestDurationSecs}}; |
+ screenshare.pipe.loss_percent = 5; |
+ screenshare.pipe.queue_delay_ms = 200; |
+ screenshare.pipe.link_capacity_kbps = 500; |
+ RunTest(screenshare); |
+} |
+ |
+TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) { |
+ VideoQualityTest::Params screenshare = { |
+ {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000}, |
+ {}, // Video-specific. |
+ {true, 10}, // Screenshare-specific. |
+ {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}}; |
+ screenshare.pipe.loss_percent = 10; |
+ screenshare.pipe.queue_delay_ms = 200; |
+ screenshare.pipe.link_capacity_kbps = 500; |
+ RunTest(screenshare); |
+} |
+ |
TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) { |
VideoQualityTest::Params screenshare = { |
{1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000}, |