Bandwidth estimator improvements #226
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
calculate fmax for Kalman filter as stated in standard.
Kalman filter stats returning sensitive estimate and we don't need to multiply it with 60.
Kalman gain should not fall lower than minimal value or filter become very insensitive to z(i).
Set Kalman chi to chi to make it more sensitive to input and react faster.
Fix exponentialMovingAverage variance calculation for rate controller.
Reset latestDecreaseRate for rate controller as standard states.
Reset latestDecreaseRate if last decrease was more than a minute ago. In this case latestDecreaseRate in inaccurate in anyway.
Merge #221 to prevent bandwidth decrease in increase state in last decrease was recently.
Removed not used 'type estimatorFunc'
There are not fixed tests exists. If my work appreciated and tend to be accepted I will fix all tests as well. I need to know whether anybody want to review these changes.
Right now I was able to fix everything I was able to find.
@mengelbart, @Sean-Der please take a look or point me to somebody I can review this work.
I spend several weeks trying to understand and fix this BWE. I'm not sure I understand everything but enough to pay attention to this effort. Please let me know if gcc in Pion is important, supported component
Reference issue
Fixes #...