DescriptionMake sure temporal layered screenshare frames are sent in at least 2s.
If a very large frame is sent (high res slide change) when the available
send bitrate is very low, the it might take many seconds before any new
frames are emitted as the accrued debt will take time to pay off.
Add a bailout, so that if a frame hasn't been sent for 2 seconds, cancel
the debt immediately, even if the target bitrate is then exceeded.
BUG=webrtc:5750
Committed: https://crrev.com/afe1f74c04d908f8bd8ad5b15c6adf6ce6250969
Cr-Commit-Position: refs/heads/master@{#12328}
Patch Set 1 #Patch Set 2 : Make sure ScreenshareLayers allows a frame every 2s #
Total comments: 4
Patch Set 3 : Force frames for TL0 only #Patch Set 4 : Typo #
Total comments: 2
Patch Set 5 : Adressed comment #Patch Set 6 : Prevent potential undefined behavior in unit test #Patch Set 7 : Cleanup/rebase #
Messages
Total messages: 18 (7 generated)
|