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

Issue 2048033003: Refactoring: CastTransport InitializeAudio/InitializeVideo. (Closed)

Created:
4 years, 6 months ago by xjz
Modified:
4 years, 5 months ago
Reviewers:
miu, dcheng
CC:
chromium-reviews, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, posciak+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, feature-media-reviews_chromium.org, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: CastTransport InitializeAudio/InitializeVideo. Merge InitializeAudio/InitializeVideo to support multiple audio/video streams in CastTransport. BUG=618469 Committed: https://crrev.com/7c66f66ad930015ed019a3872419b5d890462bb0 Cr-Commit-Position: refs/heads/master@{#406655}

Patch Set 1 : #

Patch Set 2 : Rebased #

Total comments: 14

Patch Set 3 : Addressed comments. Rebased. #

Total comments: 9

Patch Set 4 : Addressed comments. #

Total comments: 4

Patch Set 5 : Addressed comments. #

Patch Set 6 : Addressed comments. #

Patch Set 7 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -339 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 1 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 3 chunks +8 lines, -25 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/cast_messages.h View 1 1 chunk +1 line, -5 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 4 chunks +7 lines, -9 lines 0 comments Download
M chrome/renderer/media/cast_transport_ipc.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/renderer/media/cast_transport_ipc.cc View 1 1 chunk +2 lines, -10 lines 0 comments Download
M media/cast/net/cast_transport.h View 1 1 chunk +2 lines, -4 lines 0 comments Download
M media/cast/net/cast_transport_defines.h View 1 chunk +2 lines, -4 lines 0 comments Download
M media/cast/net/cast_transport_impl.h View 1 2 4 chunks +9 lines, -23 lines 0 comments Download
M media/cast/net/cast_transport_impl.cc View 1 2 3 4 6 chunks +95 lines, -94 lines 0 comments Download
M media/cast/net/cast_transport_impl_unittest.cc View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M media/cast/net/pacing/paced_sender.h View 1 2 3 4 5 6 5 chunks +15 lines, -22 lines 0 comments Download
M media/cast/net/pacing/paced_sender.cc View 1 2 3 4 5 6 7 chunks +51 lines, -27 lines 0 comments Download
M media/cast/net/pacing/paced_sender_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/net/rtp/rtp_packetizer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/audio_sender.cc View 1 2 3 chunks +1 line, -19 lines 0 comments Download
M media/cast/sender/audio_sender_unittest.cc View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M media/cast/sender/frame_sender.h View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M media/cast/sender/frame_sender.cc View 1 2 3 3 chunks +26 lines, -19 lines 0 comments Download
M media/cast/sender/video_sender.cc View 1 2 3 chunks +1 line, -19 lines 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M media/cast/test/cast_benchmarks.cc View 1 2 3 3 chunks +10 lines, -15 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 52 (28 generated)
xjz
PTAL
4 years, 6 months ago (2016-06-08 23:35:22 UTC) #5
miu
The plan is to update this after the RtpPayloadType change, right? (to remove the need ...
4 years, 6 months ago (2016-06-20 20:40:12 UTC) #6
xjz
On 2016/06/20 20:40:12, miu wrote: > The plan is to update this after the RtpPayloadType ...
4 years, 6 months ago (2016-06-20 20:44:33 UTC) #7
xjz
Rebased. PTAL
4 years, 5 months ago (2016-07-02 00:35:19 UTC) #8
miu
Awesome! So much nicer now! :) https://codereview.chromium.org/2048033003/diff/40001/media/cast/net/cast_transport_impl.cc File media/cast/net/cast_transport_impl.cc (right): https://codereview.chromium.org/2048033003/diff/40001/media/cast/net/cast_transport_impl.cc#newcode112 media/cast/net/cast_transport_impl.cc:112: bool is_audio; const ...
4 years, 5 months ago (2016-07-06 21:45:42 UTC) #9
xjz
Rebased and addressed comments. PTAL. dcheng@: need RS on chrome/common/cast_messages.h. Thanks! https://codereview.chromium.org/2048033003/diff/40001/media/cast/net/cast_transport_impl.cc File media/cast/net/cast_transport_impl.cc (right): ...
4 years, 5 months ago (2016-07-13 20:31:17 UTC) #22
dcheng
https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it != sessions_.end()); The inconsistent handling of ssrc here ...
4 years, 5 months ago (2016-07-14 03:40:27 UTC) #23
xjz
Thanks for the review. Addressed comments. PTAL. https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it != ...
4 years, 5 months ago (2016-07-14 18:29:57 UTC) #25
miu
https://codereview.chromium.org/2048033003/diff/140001/media/cast/net/cast_transport.h File media/cast/net/cast_transport.h (right): https://codereview.chromium.org/2048033003/diff/140001/media/cast/net/cast_transport.h#newcode88 media/cast/net/cast_transport.h:88: virtual void OnStatusChanged(CastTransportStatus status) = 0; Just noticed this: ...
4 years, 5 months ago (2016-07-14 22:00:41 UTC) #26
xjz
https://codereview.chromium.org/2048033003/diff/140001/media/cast/net/cast_transport.h File media/cast/net/cast_transport.h (right): https://codereview.chromium.org/2048033003/diff/140001/media/cast/net/cast_transport.h#newcode88 media/cast/net/cast_transport.h:88: virtual void OnStatusChanged(CastTransportStatus status) = 0; On 2016/07/14 22:00:41, ...
4 years, 5 months ago (2016-07-14 22:43:40 UTC) #27
dcheng
https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it != sessions_.end()); On 2016/07/14 18:29:57, xjz wrote: > ...
4 years, 5 months ago (2016-07-15 01:21:19 UTC) #28
miu
On 2016/07/14 22:43:40, xjz wrote: > It makes sense to add a "ssrc" argument for ...
4 years, 5 months ago (2016-07-18 18:56:13 UTC) #29
xjz
Addressed comments. PTAL. https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it != sessions_.end()); On 2016/07/15 01:21:19, ...
4 years, 5 months ago (2016-07-18 20:21:58 UTC) #30
miu
lgtm
4 years, 5 months ago (2016-07-19 01:12:50 UTC) #31
dcheng
https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it != sessions_.end()); On 2016/07/18 20:21:58, xjz wrote: > ...
4 years, 5 months ago (2016-07-19 05:56:10 UTC) #32
xjz
dcheng@: Thanks for the review. Addressed your comments. PTAL. https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: ...
4 years, 5 months ago (2016-07-19 18:18:33 UTC) #33
xjz
dcheng@: Changed the guards back to DCHECK(). PTAL. https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc File media/cast/net/pacing/paced_sender.cc (right): https://codereview.chromium.org/2048033003/diff/100001/media/cast/net/pacing/paced_sender.cc#newcode173 media/cast/net/pacing/paced_sender.cc:173: DCHECK(session_it ...
4 years, 5 months ago (2016-07-19 21:43:20 UTC) #37
dcheng
My immediate comments have been addressed, but my larger point still stands: it's very hard ...
4 years, 5 months ago (2016-07-20 10:43:32 UTC) #42
dcheng
Per our discussion, LGTM. Some more comments might be good.
4 years, 5 months ago (2016-07-20 17:43:40 UTC) #43
xjz
On 2016/07/20 10:43:32, dcheng wrote: > My immediate comments have been addressed, but my larger ...
4 years, 5 months ago (2016-07-20 18:04:45 UTC) #44
xjz
On 2016/07/20 17:43:40, dcheng wrote: > Per our discussion, LGTM. Some more comments might be ...
4 years, 5 months ago (2016-07-20 18:05:39 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2048033003/220001
4 years, 5 months ago (2016-07-20 19:04:58 UTC) #48
commit-bot: I haz the power
Committed patchset #7 (id:220001)
4 years, 5 months ago (2016-07-20 20:29:27 UTC) #50
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 20:31:25 UTC) #52
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7c66f66ad930015ed019a3872419b5d890462bb0
Cr-Commit-Position: refs/heads/master@{#406655}

Powered by Google App Engine
This is Rietveld 408576698