DescriptionNetEq: Rectify the implementation of PacketBuffer::DiscardOldPackets
The implementation of this method did not follow the description in
the method comment. It was supposed to delete all packets in a range
[A, B], but if at least one packet in the buffer had a timestamp lower
than A, then no packets at all were discarded. This is now fixed.
BUG=webrtc:7937
Review-Url: https://codereview.webrtc.org/2969123003
Cr-Commit-Position: refs/heads/master@{#18903}
Committed: https://chromium.googlesource.com/external/webrtc/+/63d146b743fb2a4ee637dc59c5ab0a77d7ee1864
Patch Set 1 #Patch Set 2 : git cl format #Patch Set 3 : Fix comment #
Total comments: 8
Patch Set 4 : Updates after review #
Messages
Total messages: 10 (5 generated)
|