Update settings for balanced degradation.

Configure fps_diff (if input fps - requested fps is less than the
fps_diff -> new adaptation triggered).

Bug: webrtc:7607
Change-Id: I59f10ae4fc7c4f3a09613524a9566f7c45074591
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181077
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31890}
This commit is contained in:
Åsa Persson
2020-08-07 17:09:38 +02:00
committed by Commit Bot
parent 2b69693bdb
commit 162d39a53e
2 changed files with 6 additions and 6 deletions

View File

@ -34,11 +34,11 @@ std::vector<BalancedDegradationSettings::Config> DefaultConfigs() {
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0}},
{480 * 270,
{480 * 360,
10,
0,
0,
BalancedDegradationSettings::kNoFpsDiff,
1,
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
@ -48,7 +48,7 @@ std::vector<BalancedDegradationSettings::Config> DefaultConfigs() {
15,
0,
0,
BalancedDegradationSettings::kNoFpsDiff,
1,
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},

View File

@ -34,11 +34,11 @@ void VerifyIsDefault(
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0}},
BalancedDegradationSettings::Config{
480 * 270,
480 * 360,
10,
0,
0,
BalancedDegradationSettings::kNoFpsDiff,
1,
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
@ -49,7 +49,7 @@ void VerifyIsDefault(
15,
0,
0,
BalancedDegradationSettings::kNoFpsDiff,
1,
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},