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

Issue 225023010: [Cast] Refactor/clean-up VideoReceiver to match AudioReceiver as closely as possible. (Closed)

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

Description

[Cast] Refactor/clean-up VideoReceiver to match AudioReceiver as closely as possible. This change is a necessary first step in our future plans to: 1) Merge the implementations of AudioReceiver and VideoReceiver into a single common module of code; and 2) 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). R=hubbe@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262449

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed hubbe's round 1 comments. #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+984 lines, -971 lines) Patch
M media/cast/audio_receiver/audio_receiver.h View 2 chunks +13 lines, -3 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 1 11 chunks +32 lines, -24 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver_unittest.cc View 12 chunks +23 lines, -21 lines 0 comments Download
M media/cast/cast.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/cast_config.cc View 1 2 3 chunks +22 lines, -2 lines 0 comments Download
M media/cast/cast_defines.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/cast_receiver.h View 1 chunk +16 lines, -18 lines 0 comments Download
M media/cast/cast_receiver_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/cast_receiver_impl.cc View 2 chunks +1 line, -7 lines 0 comments Download
M media/cast/logging/logging_defines.h View 1 chunk +1 line, -1 line 0 comments Download
D media/cast/test/encode_decode_test.cc View 1 chunk +0 lines, -137 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 16 chunks +40 lines, -19 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.h View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
D media/cast/video_receiver/codecs/vp8/vp8_decoder.h View 1 chunk +0 lines, -48 lines 0 comments Download
D media/cast/video_receiver/codecs/vp8/vp8_decoder.cc View 1 chunk +0 lines, -152 lines 0 comments Download
D media/cast/video_receiver/codecs/vp8/vp8_decoder.gyp View 1 chunk +0 lines, -28 lines 0 comments Download
M media/cast/video_receiver/video_decoder.h View 1 chunk +35 lines, -16 lines 0 comments Download
M media/cast/video_receiver/video_decoder.cc View 1 chunk +195 lines, -15 lines 0 comments Download
M media/cast/video_receiver/video_decoder_unittest.cc View 1 chunk +155 lines, -61 lines 0 comments Download
M media/cast/video_receiver/video_receiver.h View 3 chunks +94 lines, -56 lines 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 1 11 chunks +199 lines, -276 lines 0 comments Download
M media/cast/video_receiver/video_receiver.gypi View 1 chunk +4 lines, -3 lines 0 comments Download
M media/cast/video_receiver/video_receiver_unittest.cc View 4 chunks +140 lines, -77 lines 0 comments Download
M media/cast/video_sender/codecs/vp8/vp8_encoder.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
miu
hubbe: PTAL. This should be an easy code review since it's pretty much taking AudioDecoder/Receiver ...
6 years, 8 months ago (2014-04-04 18:25:01 UTC) #1
hubbe
First set of comments, will review some things in more details next round. https://codereview.chromium.org/225023010/diff/1/media/cast/audio_receiver/audio_receiver.cc File ...
6 years, 8 months ago (2014-04-07 18:40:16 UTC) #2
miu
https://codereview.chromium.org/225023010/diff/1/media/cast/audio_receiver/audio_receiver.cc File media/cast/audio_receiver/audio_receiver.cc (right): https://codereview.chromium.org/225023010/diff/1/media/cast/audio_receiver/audio_receiver.cc#newcode40 media/cast/audio_receiver/audio_receiver.cc:40: audio_config.rtp_max_delay_ms * kTypicalFramesPerSecond / 1000), On 2014/04/07 18:40:17, hubbe ...
6 years, 8 months ago (2014-04-08 00:59:40 UTC) #3
hubbe
lgtm
6 years, 8 months ago (2014-04-08 16:41:23 UTC) #4
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 8 months ago (2014-04-08 16:42:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/225023010/20001
6 years, 8 months ago (2014-04-08 16:42:08 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 16:42:46 UTC) #7
commit-bot: I haz the power
Failed to apply patch for media/cast/test/utility/in_process_receiver.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-08 16:42:46 UTC) #8
miu
Committed patchset #3 manually as r262449 (presubmit successful).
6 years, 8 months ago (2014-04-08 18:00:35 UTC) #9
miu
6 years, 8 months ago (2014-04-08 18:01:24 UTC) #10
Message was sent while issue was closed.
FYI--Just dcommitted (bypassing the CQ) because this issue is blocking multiple
team members.  All trybot results were green, so we should be good to go.

Powered by Google App Engine
This is Rietveld 408576698