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

Issue 1290113002: NetEq: Implement logging of Delayed Packet Outage Events (Closed)

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

Description

NetEq: Implement logging of Delayed Packet Outage Events Measures the duration of each packet loss concealment (a.k.a. expand) event that is not followed by a merge operation. Having decoded and played packet m−1, the next expected packet is m. If packet m arrives after some time of packet loss concealment, we have a delayed packet outage event. However, if instead packet n>m arrives, we have a lost packet outage event. In NetEq, the two outage types results in different operations. Both types start with expand operations to generate audio to play while the buffer is empty. When a lost packet outage happens, the expand operation(s) are followed by one merge operation. For delayed packet outages, merge is not done, and the expand operations are immediately followed by normal operations. This change also includes unit tests for the new statistics. BUG=webrtc:4915, chromium:488124 R=minyue@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/bef77e234fa53a52b830b5833948711f75ab8bbb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixing windows build #

Total comments: 2

Patch Set 3 : Fixing another Win(64) build error #

Patch Set 4 : Add new Move method and initialize a value #

Total comments: 12

Patch Set 5 : Addressing Minyue's comments #

Total comments: 2

Patch Set 6 : Rename InputAudioFile::Move to InputAudioFile::Seek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -16 lines) Patch
M webrtc/modules/audio_coding/neteq/expand.h View 1 2 5 chunks +8 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/expand.cc View 1 2 3 7 chunks +15 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/expand_unittest.cc View 1 2 3 4 5 3 chunks +131 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/merge_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_expand.h View 2 chunks +9 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/normal_unittest.cc View 4 chunks +9 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/statistics_calculator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/statistics_calculator.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/input_audio_file.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/input_audio_file.cc View 1 2 3 4 5 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
hlundin-webrtc
Minyue, Ivo, Please, take a look at this change. Thanks!
5 years, 4 months ago (2015-08-13 13:34:30 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290113002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290113002/1
5 years, 4 months ago (2015-08-13 13:37:34 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win/builds/9090) win_rel on ...
5 years, 4 months ago (2015-08-13 13:39:55 UTC) #7
hlundin-webrtc
Fixing windows build
5 years, 4 months ago (2015-08-13 13:45:45 UTC) #8
minyue-webrtc
On 2015/08/13 13:45:45, hlundin-webrtc wrote: > Fixing windows build Not sure if possible, but can ...
5 years, 4 months ago (2015-08-13 14:12:19 UTC) #9
hlundin-webrtc
On 2015/08/13 14:12:19, minyue-webrtc wrote: > On 2015/08/13 13:45:45, hlundin-webrtc wrote: > > Fixing windows ...
5 years, 4 months ago (2015-08-14 07:25:04 UTC) #10
hlundin-webrtc
Fixing another Win(64) build error
5 years, 4 months ago (2015-08-14 07:33:08 UTC) #11
ivoc
I only found a few minor nits to pick. https://codereview.webrtc.org/1290113002/diff/1/webrtc/modules/audio_coding/neteq/expand.cc File webrtc/modules/audio_coding/neteq/expand.cc (right): https://codereview.webrtc.org/1290113002/diff/1/webrtc/modules/audio_coding/neteq/expand.cc#newcode41 webrtc/modules/audio_coding/neteq/expand.cc:41: ...
5 years, 4 months ago (2015-08-14 13:00:03 UTC) #12
hlundin-webrtc
Add new Move method and initialize a value
5 years, 4 months ago (2015-08-17 12:05:07 UTC) #13
hlundin-webrtc
Addressing Ivo's comments. https://codereview.webrtc.org/1290113002/diff/1/webrtc/modules/audio_coding/neteq/expand.cc File webrtc/modules/audio_coding/neteq/expand.cc (right): https://codereview.webrtc.org/1290113002/diff/1/webrtc/modules/audio_coding/neteq/expand.cc#newcode41 webrtc/modules/audio_coding/neteq/expand.cc:41: statistics_(statistics), On 2015/08/14 13:00:03, ivoc wrote: ...
5 years, 4 months ago (2015-08-17 12:07:28 UTC) #14
minyue-webrtc
https://codereview.chromium.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.chromium.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode1877 webrtc/modules/audio_coding/neteq/neteq_impl.cc:1877: &stats_, fs_hz, channels)); you share the pointer to stats_, ...
5 years, 4 months ago (2015-08-17 14:07:22 UTC) #15
hlundin-webrtc
https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode1877 webrtc/modules/audio_coding/neteq/neteq_impl.cc:1877: &stats_, fs_hz, channels)); On 2015/08/17 14:07:22, minyue-webrtc wrote: > ...
5 years, 4 months ago (2015-08-17 14:10:31 UTC) #16
minyue-webrtc
https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode1877 webrtc/modules/audio_coding/neteq/neteq_impl.cc:1877: &stats_, fs_hz, channels)); On 2015/08/17 14:10:31, hlundin-webrtc wrote: > ...
5 years, 4 months ago (2015-08-17 14:16:08 UTC) #17
hlundin-webrtc
https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode1877 webrtc/modules/audio_coding/neteq/neteq_impl.cc:1877: &stats_, fs_hz, channels)); On 2015/08/17 14:16:08, minyue-webrtc wrote: > ...
5 years, 4 months ago (2015-08-17 14:23:01 UTC) #18
minyue-webrtc
some nits https://codereview.chromium.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/expand_unittest.cc File webrtc/modules/audio_coding/neteq/expand_unittest.cc (right): https://codereview.chromium.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/expand_unittest.cc#newcode77 webrtc/modules/audio_coding/neteq/expand_unittest.cc:77: rtc::CheckedDivExact(2 * 2880 * test_sample_rate_hz_, 8000)), why ...
5 years, 4 months ago (2015-08-17 15:42:12 UTC) #19
hlundin-webrtc
Addressing Minyue's comments
5 years, 4 months ago (2015-08-18 08:13:03 UTC) #20
hlundin-webrtc
PTAL again. https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/expand_unittest.cc File webrtc/modules/audio_coding/neteq/expand_unittest.cc (right): https://codereview.webrtc.org/1290113002/diff/60001/webrtc/modules/audio_coding/neteq/expand_unittest.cc#newcode77 webrtc/modules/audio_coding/neteq/expand_unittest.cc:77: rtc::CheckedDivExact(2 * 2880 * test_sample_rate_hz_, 8000)), On ...
5 years, 4 months ago (2015-08-18 08:13:47 UTC) #21
minyue-webrtc
LGTM + a comment https://codereview.webrtc.org/1290113002/diff/80001/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h File webrtc/modules/audio_coding/neteq/tools/input_audio_file.h (right): https://codereview.webrtc.org/1290113002/diff/80001/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h#newcode41 webrtc/modules/audio_coding/neteq/tools/input_audio_file.h:41: virtual bool Move(int samples); I ...
5 years, 4 months ago (2015-08-18 11:14:35 UTC) #22
hlundin-webrtc
Rename InputAudioFile::Move to InputAudioFile::Seek
5 years, 4 months ago (2015-08-18 11:50:22 UTC) #23
hlundin-webrtc
Thanks Minyue! https://codereview.webrtc.org/1290113002/diff/80001/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h File webrtc/modules/audio_coding/neteq/tools/input_audio_file.h (right): https://codereview.webrtc.org/1290113002/diff/80001/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h#newcode41 webrtc/modules/audio_coding/neteq/tools/input_audio_file.h:41: virtual bool Move(int samples); On 2015/08/18 11:14:35, ...
5 years, 4 months ago (2015-08-18 11:50:37 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290113002/100001
5 years, 4 months ago (2015-08-18 11:50:55 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/382)
5 years, 4 months ago (2015-08-18 11:52:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1290113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1290113002/100001
5 years, 4 months ago (2015-08-18 12:07:29 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/8875)
5 years, 4 months ago (2015-08-18 12:18:34 UTC) #33
hlundin-webrtc
5 years, 4 months ago (2015-08-18 12:58:25 UTC) #34
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
bef77e234fa53a52b830b5833948711f75ab8bbb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698