Add BW limited vp9 k-svc test
This test would've cought the regression leading to chrome crashes. Bug: chromium:1051476 Change-Id: I011cb21e333e623412f57f93f0096dbd2dc10505 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168958 Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Evan Shrubsole <eshr@google.com> Cr-Commit-Position: refs/heads/master@{#30606}
This commit is contained in:

committed by
Commit Bot

parent
d2a1f09b18
commit
ef0033bca1
@ -1170,6 +1170,23 @@ TEST(FullStackTest, VP9KSVC_3SL_Low) {
|
|||||||
fixture->RunWithAnalyzer(simulcast);
|
fixture->RunWithAnalyzer(simulcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(FullStackTest, VP9KSVC_3SL_Low_Bw_Limited) {
|
||||||
|
webrtc::test::ScopedFieldTrials override_trials(
|
||||||
|
AppendFieldTrials("WebRTC-Vp9IssueKeyFrameOnLayerDeactivation/Enabled/"
|
||||||
|
"WebRTC-Vp9ExternalRefCtrl/Enabled/"));
|
||||||
|
auto fixture = CreateVideoQualityTestFixture();
|
||||||
|
ParamsWithLogging simulcast;
|
||||||
|
simulcast.config->link_capacity_kbps = 500;
|
||||||
|
simulcast.call.send_side_bwe = true;
|
||||||
|
simulcast.video[0] = SvcVp9Video();
|
||||||
|
simulcast.analyzer = {"vp9ksvc_3sl_low_bw_limited", 0.0, 0.0,
|
||||||
|
kFullStackTestDurationSecs};
|
||||||
|
simulcast.ss[0] = {
|
||||||
|
std::vector<VideoStream>(), 0, 3, 0, InterLayerPredMode::kOnKeyPic,
|
||||||
|
std::vector<SpatialLayer>(), false};
|
||||||
|
fixture->RunWithAnalyzer(simulcast);
|
||||||
|
}
|
||||||
|
|
||||||
TEST(FullStackTest, VP9KSVC_3SL_Medium_Network_Restricted) {
|
TEST(FullStackTest, VP9KSVC_3SL_Medium_Network_Restricted) {
|
||||||
webrtc::test::ScopedFieldTrials override_trials(
|
webrtc::test::ScopedFieldTrials override_trials(
|
||||||
AppendFieldTrials("WebRTC-Vp9IssueKeyFrameOnLayerDeactivation/Enabled/"));
|
AppendFieldTrials("WebRTC-Vp9IssueKeyFrameOnLayerDeactivation/Enabled/"));
|
||||||
|
Reference in New Issue
Block a user