DescriptionPrevent busy-looping PacedSender on small packets.
Skip accounting for small packets and suspend the prober if no
large-enough packets have been sent for some time. This especially seems
to have triggered in audio-only calls where all packets are too small,
making TimeUntilNextProbe return 0 forever, causing the module process
thread to wake up forever.
BUG=webrtc:5506
R=stefan@webrtc.org
Committed: https://crrev.com/0453ef857f900dd0f230d3e654b54256512af64f
Cr-Commit-Position: refs/heads/master@{#11634}
Patch Set 1 #
Total comments: 9
Patch Set 2 : only initialize the prober if we have something large enough to probe with #Patch Set 3 : review + fixes #Patch Set 4 : rebase #
Total comments: 6
Patch Set 5 : remove packet_size_last_send_ = 0 and rename constant #
Messages
Total messages: 16 (3 generated)
|