DescriptionInitial rate allocation should not use fps = 0
A recent cl (https://codereview.webrtc.org/2510583002) introduced an
issue where the initial rate allocation (call to VideoBitrateAllocator
and any associated temporal layers) uses framerate = 0 fps. This may
cause issues, including having the rate control in ScreenshareLayers
ramp up too slowly.
This CL make the initial call use VideoCodec.maxFramerate as framerate.
Also expanded unit tests.
BUG=webrtc:6301
Committed: https://crrev.com/40217c3718b9c6c53f399420d679b3d581886b89
Cr-Commit-Position: refs/heads/master@{#15166}
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 4
Patch Set 3 : hold params lock while accessing has_received_frame_ #Patch Set 4 : oops #
Total comments: 12
Patch Set 5 : Simplified, addressed comments #
Total comments: 2
Patch Set 6 : nit #
Messages
Total messages: 17 (7 generated)
|