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

Issue 1853183002: Change NetEq::GetPlayoutTimestamp to return an rtc::Optional<uint32_t> (Closed)

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

Description

Change NetEq::GetPlayoutTimestamp to return an rtc::Optional<uint32_t> This is in preparation for changes to when the playout timestamp is valid. BUG=webrtc:5669 Committed: https://crrev.com/9a410dd082a650a7ded02ac5b2bd3ca6f45b644a Cr-Commit-Position: refs/heads/master@{#12256}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixing Minyue's comments #

Total comments: 6

Patch Set 3 : Fixing kwiberg's comments #

Patch Set 4 : Adding back the old PlayoutTimestamp method, now DEPRECATED #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -58 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receiver.h View 1 chunk +3 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 2 2 chunks +6 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_impl.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/include/audio_coding_module.h View 1 2 3 3 chunks +11 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 4 chunks +15 lines, -13 lines 1 comment Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 2 chunks +3 lines, -4 lines 2 comments Download
M webrtc/modules/audio_coding/test/APITest.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/test/delay_test.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
hlundin-webrtc
Please, take a look.
4 years, 8 months ago (2016-04-04 15:39:07 UTC) #2
minyue-webrtc
good work! some minor comments. https://codereview.webrtc.org/1853183002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver.cc File webrtc/modules/audio_coding/acm2/acm_receiver.cc (right): https://codereview.webrtc.org/1853183002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver.cc#newcode202 webrtc/modules/audio_coding/acm2/acm_receiver.cc:202: *playout_timestamp - "*playout_timestamp -" ...
4 years, 8 months ago (2016-04-04 15:53:51 UTC) #3
hlundin-webrtc
PTAL again. https://codereview.webrtc.org/1853183002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver.cc File webrtc/modules/audio_coding/acm2/acm_receiver.cc (right): https://codereview.webrtc.org/1853183002/diff/1/webrtc/modules/audio_coding/acm2/acm_receiver.cc#newcode202 webrtc/modules/audio_coding/acm2/acm_receiver.cc:202: *playout_timestamp - On 2016/04/04 15:53:50, minyue-webrtc wrote: ...
4 years, 8 months ago (2016-04-04 21:02:54 UTC) #4
minyue-webrtc
lgtm
4 years, 8 months ago (2016-04-05 07:58:03 UTC) #5
kwiberg-webrtc
lgtm (with some suggestions for the tests) This is exactly the sort of thing I ...
4 years, 8 months ago (2016-04-05 14:04:03 UTC) #6
hlundin-webrtc
Fixing kwiberg's comments
4 years, 8 months ago (2016-04-05 14:16:58 UTC) #7
hlundin-webrtc
Fixed. Will commit this. https://codereview.webrtc.org/1853183002/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/1853183002/diff/20001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc#newcode483 webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc:483: *neteq_->GetPlayoutTimestamp()); On 2016/04/05 14:04:02, kwiberg-webrtc ...
4 years, 8 months ago (2016-04-05 14:19:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853183002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853183002/40001
4 years, 8 months ago (2016-04-05 14:20:04 UTC) #11
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/4608)
4 years, 8 months ago (2016-04-05 14:31:56 UTC) #13
hlundin-webrtc
Adding back the old PlayoutTimestamp method, now DEPRECATED
4 years, 8 months ago (2016-04-05 14:52:56 UTC) #14
hlundin-webrtc
kwiberg: Please, look at patch set 4. I had to hang on to the old ...
4 years, 8 months ago (2016-04-05 14:54:25 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853183002/60001
4 years, 8 months ago (2016-04-05 14:54:45 UTC) #18
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-05 16:55:23 UTC) #20
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc (right): https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc#newcode481 webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc:481: // Wrap the expected value in an rtc::Optional ...
4 years, 8 months ago (2016-04-05 17:27:23 UTC) #21
the sun
lgtm https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode1527 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:1527: return playout_timestamp.value_or(0); Why value_or() when you already expect ...
4 years, 8 months ago (2016-04-06 08:04:24 UTC) #22
hlundin-webrtc
https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1853183002/diff/60001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode1527 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:1527: return playout_timestamp.value_or(0); On 2016/04/06 08:04:24, the sun wrote: > ...
4 years, 8 months ago (2016-04-06 08:15:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853183002/60001
4 years, 8 months ago (2016-04-06 08:37:28 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-06 08:39:28 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 08:39:36 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9a410dd082a650a7ded02ac5b2bd3ca6f45b644a
Cr-Commit-Position: refs/heads/master@{#12256}

Powered by Google App Engine
This is Rietveld 408576698