Account for simulcast hysteresis in padding rate calculation.
Bug: webrtc:10271 Change-Id: If0b0eb7d94fb1c892880ff4745f34c43fcdeee54 Reviewed-on: https://webrtc-review.googlesource.com/c/120661 Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26527}
This commit is contained in:

committed by
Commit Bot

parent
819661a965
commit
c402dbe2b0
@ -58,11 +58,8 @@ float SimulcastRateAllocator::GetTemporalRateAllocation(int num_layers,
|
||||
|
||||
SimulcastRateAllocator::SimulcastRateAllocator(const VideoCodec& codec)
|
||||
: codec_(codec),
|
||||
hysteresis_factor_(codec.mode == VideoCodecMode::kScreensharing
|
||||
? RateControlSettings::ParseFromFieldTrials()
|
||||
.GetSimulcastScreenshareHysteresisFactor()
|
||||
: RateControlSettings::ParseFromFieldTrials()
|
||||
.GetSimulcastVideoHysteresisFactor()) {}
|
||||
hysteresis_factor_(RateControlSettings::ParseFromFieldTrials()
|
||||
.GetSimulcastHysteresisFactor(codec.mode)) {}
|
||||
|
||||
SimulcastRateAllocator::~SimulcastRateAllocator() = default;
|
||||
|
||||
|
Reference in New Issue
Block a user