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

Issue 2085233002: NetEq: Fix a bug in DelayPeakDetector causing asserts to trigger (Closed)

Created:
4 years, 6 months ago by hlundin-webrtc
Modified:
4 years, 6 months ago
Reviewers:
tlegrand-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq: Fix a bug in DelayPeakDetector causing asserts to trigger In some situation, typically when incoming packets were reordered, the DelayPeakDetector::Update method may be called twice (or more) with non-zero inter_arrival_time argument, but without the TickTimer object being updated in between (i.e., packets coming in more or less at the same time). In these situations, a delay peak may be registered with zero peak period. This could eventually trigger the DCHECK in DelayPeakDetector::MaxPeakPeriod(). With this fix, the problem is solved by not registering peaks for which the TickTimer object has not moved since the last peak. The problem was originally introduced with https://codereview.webrtc.org/1921163003. BUG=webrtc:6021 Committed: https://crrev.com/d5f50a1b53f740b7273fc859b6c832af21daa473 Cr-Commit-Position: refs/heads/master@{#13257}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -20 lines) Patch
M webrtc/modules/audio_coding/neteq/delay_peak_detector.cc View 1 chunk +22 lines, -20 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_peak_detector_unittest.cc View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
hlundin-webrtc
Tina, Can you review this bug fix? Thanks!
4 years, 6 months ago (2016-06-22 12:11:53 UTC) #2
tlegrand-webrtc
lgtm
4 years, 6 months ago (2016-06-22 13:56:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085233002/1
4 years, 6 months ago (2016-06-22 15:35:18 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-22 16:07:08 UTC) #6
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 16:07:12 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d5f50a1b53f740b7273fc859b6c832af21daa473
Cr-Commit-Position: refs/heads/master@{#13257}

Powered by Google App Engine
This is Rietveld 408576698