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:
@ -34,11 +34,11 @@ std::vector<BalancedDegradationSettings::Config> DefaultConfigs() {
|
|||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0}},
|
{0, 0, 0, 0, 0}},
|
||||||
{480 * 270,
|
{480 * 360,
|
||||||
10,
|
10,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
BalancedDegradationSettings::kNoFpsDiff,
|
1,
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{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,
|
15,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
BalancedDegradationSettings::kNoFpsDiff,
|
1,
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
|
@ -34,11 +34,11 @@ void VerifyIsDefault(
|
|||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0}},
|
{0, 0, 0, 0, 0}},
|
||||||
BalancedDegradationSettings::Config{
|
BalancedDegradationSettings::Config{
|
||||||
480 * 270,
|
480 * 360,
|
||||||
10,
|
10,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
BalancedDegradationSettings::kNoFpsDiff,
|
1,
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
@ -49,7 +49,7 @@ void VerifyIsDefault(
|
|||||||
15,
|
15,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
BalancedDegradationSettings::kNoFpsDiff,
|
1,
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
{0, 0, 0, 0, 0},
|
{0, 0, 0, 0, 0},
|
||||||
|
Reference in New Issue
Block a user