diff --git a/modules/video_coding/codecs/vp9/svc_config.cc b/modules/video_coding/codecs/vp9/svc_config.cc index a3bf56d90c..138822ab92 100644 --- a/modules/video_coding/codecs/vp9/svc_config.cc +++ b/modules/video_coding/codecs/vp9/svc_config.cc @@ -23,10 +23,10 @@ namespace { const size_t kMinVp9SvcBitrateKbps = 30; const size_t kMaxNumLayersForScreenSharing = 3; -const float kMaxScreenSharingLayerFramerateFps[] = {5.0, 10.0, 30.0}; -const size_t kMinScreenSharingLayerBitrateKbps[] = {30, 200, 500}; -const size_t kTargetScreenSharingLayerBitrateKbps[] = {150, 350, 950}; -const size_t kMaxScreenSharingLayerBitrateKbps[] = {250, 500, 950}; +const float kMaxScreenSharingLayerFramerateFps[] = {5.0, 5.0, 30.0}; +const size_t kMinScreenSharingLayerBitrateKbps[] = {30, 150, 500}; +const size_t kTargetScreenSharingLayerBitrateKbps[] = {150, 350, 1000}; +const size_t kMaxScreenSharingLayerBitrateKbps[] = {200, 500, 1000}; } // namespace diff --git a/modules/video_coding/codecs/vp9/svc_config_unittest.cc b/modules/video_coding/codecs/vp9/svc_config_unittest.cc index 489f1b0cd8..05802eb5b0 100644 --- a/modules/video_coding/codecs/vp9/svc_config_unittest.cc +++ b/modules/video_coding/codecs/vp9/svc_config_unittest.cc @@ -54,7 +54,7 @@ TEST(SvcConfig, ScreenSharing) { const SpatialLayer& layer = spatial_layers[i]; EXPECT_EQ(layer.width, 1920); EXPECT_EQ(layer.height, 1080); - EXPECT_EQ(layer.maxFramerate, (i < 1) ? 5 : (i < 2 ? 10 : 30)); + EXPECT_EQ(layer.maxFramerate, (i < 2) ? 5 : 30); EXPECT_EQ(layer.numberOfTemporalLayers, 1); EXPECT_LE(layer.minBitrate, layer.maxBitrate); EXPECT_LE(layer.minBitrate, layer.targetBitrate);