DescriptionSet overuse detector max frame interval based on target frame rate.
Currently there is a hard limit for the estimated captured frame
interval of 45ms. As the encoder utilization is calculated as
(input frame interval)/(encode time), overuse signals can be triggered
even though there is plenty of time to go around if the fps is low.
However, in order to avoid falsly estimating low encode usage in case
the capturer has a dynamic frame rate, set the frame interval based on
the actual current max framerate.
BUG=webrtc:4172
Review-Url: https://codereview.webrtc.org/2918143003
Cr-Commit-Position: refs/heads/master@{#18610}
Committed: https://chromium.googlesource.com/external/webrtc/+/fda496a31e5c4d0aac98d3309eb288495748ba8f
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Botched rebase #Patch Set 4 : Bug fixes #Patch Set 5 : Added tests #Patch Set 6 : Rebase / merge fixes #Patch Set 7 : Handle degradation preference change #
Total comments: 28
Patch Set 8 : Addressed comments, fixed last adaptation fps, fixed unit tests #
Total comments: 2
Patch Set 9 : Updates max fps handling #Patch Set 10 : Active SinkWants #
Total comments: 4
Patch Set 11 : Cleanup #Patch Set 12 : Rebase #
Messages
Total messages: 37 (24 generated)
|