Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Issue 2969123003: NetEq: Rectify the implementation of PacketBuffer::DiscardOldPackets (Closed)

Created:
3 years, 5 months ago by hlundin-webrtc
Modified:
3 years, 5 months ago
Reviewers:
minyue-webrtc
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, ivoc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -13 lines) Patch
M webrtc/modules/audio_coding/neteq/packet_buffer.cc View 1 1 chunk +7 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc View 1 2 3 2 chunks +20 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
hlundin-webrtc
PTAL.
3 years, 5 months ago (2017-07-05 11:39:27 UTC) #2
minyue-webrtc
lgtm % nits https://codereview.webrtc.org/2969123003/diff/40001/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc File webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc (right): https://codereview.webrtc.org/2969123003/diff/40001/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc#newcode322 webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc:322: // DiscardNextPacket call. nice, another way ...
3 years, 5 months ago (2017-07-05 12:11:08 UTC) #3
hlundin-webrtc
Thanks! I will CQ the new patch set. https://codereview.webrtc.org/2969123003/diff/40001/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc File webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc (right): https://codereview.webrtc.org/2969123003/diff/40001/webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc#newcode322 webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc:322: // ...
3 years, 5 months ago (2017-07-05 13:42:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2969123003/60001
3 years, 5 months ago (2017-07-05 13:42:45 UTC) #7
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 14:03:39 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/63d146b743fb2a4ee637dc59c...

Powered by Google App Engine
This is Rietveld 408576698