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

Issue 214273003: [Cast] Remove AudioDecoder's dependency on WebRTC, and refactor/clean-up AudioReceiver. (Closed)

Created:
6 years, 9 months ago by miu
Modified:
6 years, 8 months ago
Reviewers:
hubbe
CC:
chromium-reviews, hclam+watch_chromium.org, mikhal+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, imcheng+watch_chromium.org
Visibility:
Public.

Description

[Cast] Remove AudioDecoder's dependency on WebRTC, and refactor/clean-up AudioReceiver. This removes all dependencies on WebRTC for decoding audio. It also untangles a major layering violation between AudioReceiver and AudioDecoder: AudioDecoder no longer reorders encoded frames before decoding. This change is a necessary first step in our future plans to delegate A/V sync, jitter, and playout clock skew correction to a module that will operate at a higher abstraction level. Several bugs were automatically fixed. Also, updated/fixed unit tests, improved comments/documentation, and tiny related clean-ups (where relevant to this change). BUG=347361, 347391 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260620

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed hubbe's comments + Windows compile fixes. #

Patch Set 3 : Yeeeeeeeeeeah!!!! Rebase!!! #

Patch Set 4 : Naming: "frame" not "packet" in certain contexts. #

Patch Set 5 : One moar Windows compile fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1080 lines, -1085 lines) Patch
M media/cast/audio_receiver/audio_decoder.h View 1 1 chunk +33 lines, -42 lines 0 comments Download
M media/cast/audio_receiver/audio_decoder.cc View 1 2 3 4 1 chunk +222 lines, -130 lines 0 comments Download
M media/cast/audio_receiver/audio_decoder_unittest.cc View 1 2 3 1 chunk +211 lines, -184 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.h View 1 2 3 4 chunks +77 lines, -56 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 1 2 10 chunks +180 lines, -262 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.gypi View 1 chunk +3 lines, -1 line 0 comments Download
M media/cast/audio_receiver/audio_receiver_unittest.cc View 1 2 3 9 chunks +66 lines, -64 lines 0 comments Download
M media/cast/cast_receiver.h View 1 2 3 3 chunks +17 lines, -9 lines 0 comments Download
M media/cast/cast_receiver_impl.cc View 1 chunk +1 line, -5 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 18 chunks +228 lines, -313 lines 0 comments Download
M media/cast/test/utility/audio_utility.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/test/utility/audio_utility.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.h View 2 chunks +4 lines, -2 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.cc View 2 chunks +15 lines, -16 lines 0 comments Download
M media/cast/test/utility/standalone_cast_environment.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
miu
hubbe: PTAL. More LOC deleted than added. ;-) Suggested plan-of-attack: 1. audio_decoder*.* is a rewrite, ...
6 years, 9 months ago (2014-03-27 05:36:31 UTC) #1
hubbe
LGTM with nits https://codereview.chromium.org/214273003/diff/1/media/cast/audio_receiver/audio_decoder.cc File media/cast/audio_receiver/audio_decoder.cc (right): https://codereview.chromium.org/214273003/diff/1/media/cast/audio_receiver/audio_decoder.cc#newcode118 media/cast/audio_receiver/audio_decoder.cc:118: if (ImplBase::cast_initialization_status_ != STATUS_AUDIO_UNINITIALIZED) DCHECK? https://codereview.chromium.org/214273003/diff/1/media/cast/audio_receiver/audio_decoder.h ...
6 years, 9 months ago (2014-03-28 19:50:59 UTC) #2
miu
https://codereview.chromium.org/214273003/diff/1/media/cast/audio_receiver/audio_decoder.cc File media/cast/audio_receiver/audio_decoder.cc (right): https://codereview.chromium.org/214273003/diff/1/media/cast/audio_receiver/audio_decoder.cc#newcode118 media/cast/audio_receiver/audio_decoder.cc:118: if (ImplBase::cast_initialization_status_ != STATUS_AUDIO_UNINITIALIZED) On 2014/03/28 19:50:59, hubbe wrote: ...
6 years, 8 months ago (2014-03-28 23:51:57 UTC) #3
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-28 23:52:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/60001
6 years, 8 months ago (2014-03-28 23:57:32 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 01:24:49 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=89538
6 years, 8 months ago (2014-03-29 01:24:50 UTC) #7
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-29 02:13:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/80001
6 years, 8 months ago (2014-03-29 02:14:34 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 03:36:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-03-29 03:36:33 UTC) #11
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-29 03:52:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/80001
6 years, 8 months ago (2014-03-29 03:52:20 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 05:21:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-29 05:21:29 UTC) #15
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-29 18:17:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/80001
6 years, 8 months ago (2014-03-29 18:17:15 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 19:46:02 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-29 19:46:03 UTC) #19
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-30 00:35:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/80001
6 years, 8 months ago (2014-03-30 00:36:05 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-30 02:07:53 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-30 02:07:54 UTC) #23
miu
The CQ bit was checked by miu@chromium.org
6 years, 8 months ago (2014-03-31 17:33:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/214273003/80001
6 years, 8 months ago (2014-03-31 17:33:57 UTC) #25
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 20:01:38 UTC) #26
Message was sent while issue was closed.
Change committed as 260620

Powered by Google App Engine
This is Rietveld 408576698