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

Issue 1861303002: NetEq::GetPlayoutTimestamp returns empty during CNG (Closed)

Created:
4 years, 8 months ago by hlundin-webrtc
Modified:
4 years, 8 months ago
Reviewers:
minyue-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@neteq-set-audio-frame-ts
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq::GetPlayoutTimestamp returns empty during CNG With this change, the return value from NetEq::GetPlayoutTimestamp is empty if the latest call to NetEq::GetAudio resulted in comfort noise (codec-internal or external) being played out. This is because the playout timestamp is not updated during CNG, and can therefore not be trusted. A few unit tests were updated to reflect the change. BUG=webrtc:5669 Committed: https://crrev.com/0d96ab7dc4053ae5793aac018379a860b2534358 Cr-Commit-Position: refs/heads/master@{#12268}

Patch Set 1 #

Total comments: 7

Patch Set 2 : After 1st review #

Patch Set 3 : Consolidate the test code #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -25 lines) Patch
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 4 chunks +26 lines, -12 lines 3 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 7 chunks +20 lines, -11 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (6 generated)
hlundin-webrtc
Check for empty timestamp during CNG (and PLC)
4 years, 8 months ago (2016-04-06 09:54:11 UTC) #1
hlundin-webrtc
Minyue, Please, review this final CL for fixing the CNG timestamp bug. Thanks! https://codereview.webrtc.org/1861303002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc File ...
4 years, 8 months ago (2016-04-06 11:13:58 UTC) #4
minyue-webrtc
Great work! See some small comments https://codereview.webrtc.org/1861303002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc (right): https://codereview.webrtc.org/1861303002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc#newcode729 webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc:729: int expected_timestamp_increment[8] = ...
4 years, 8 months ago (2016-04-06 13:39:42 UTC) #5
hlundin-webrtc
Consolidate the test code
4 years, 8 months ago (2016-04-06 15:25:46 UTC) #6
hlundin-webrtc
PTAL again. I did a smaller simplification in patch set 2. Then I went crazy ...
4 years, 8 months ago (2016-04-06 15:27:57 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861303002/60001
4 years, 8 months ago (2016-04-06 15:41:01 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 8 months ago (2016-04-06 17:41:36 UTC) #11
minyue-webrtc
lgtm LGTM + a couple of questions https://codereview.webrtc.org/1861303002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1861303002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode1500 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:1500: out_frame_.timestamp_ + ...
4 years, 8 months ago (2016-04-06 18:13:08 UTC) #12
hlundin-webrtc
Thanks for the swift reviews! I'm going to land this when the last try bot ...
4 years, 8 months ago (2016-04-06 18:21:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861303002/60001
4 years, 8 months ago (2016-04-06 19:26:56 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-06 19:28:30 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 19:28:35 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0d96ab7dc4053ae5793aac018379a860b2534358
Cr-Commit-Position: refs/heads/master@{#12268}

Powered by Google App Engine
This is Rietveld 408576698