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

Issue 1878883003: Refactor: simplify interface of SenderRtcpSession and CastTransport. (Closed)

Created:
4 years, 8 months ago by xjz
Modified:
4 years, 7 months ago
Reviewers:
miu
CC:
chromium-reviews, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, posciak+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+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

Refactor: simplify interface of SenderRtcpSession and CastTransport. SenderRtcpSession constructor, CastTransport::InitializeAudio, and CastTransport::InitializeVideo require caller inject one callback on receiving every type of RTCP message. Defined the interface and reduced the number of input parameters for these functions. BUG=588275 Committed: https://crrev.com/3ea24de275a40219d274361afa0a21d018594395 Cr-Commit-Position: refs/heads/master@{#391319}

Patch Set 1 : #

Total comments: 24

Patch Set 2 : Addressed comments. #

Total comments: 16

Patch Set 3 : Addressed comments. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -256 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 4 chunks +44 lines, -30 lines 0 comments Download
M chrome/renderer/media/cast_transport_ipc.h View 1 2 3 2 chunks +4 lines, -17 lines 0 comments Download
M chrome/renderer/media/cast_transport_ipc.cc View 1 2 3 5 chunks +9 lines, -24 lines 0 comments Download
M media/cast/net/cast_transport.h View 1 2 3 2 chunks +25 lines, -11 lines 0 comments Download
M media/cast/net/cast_transport_impl.h View 1 2 3 4 chunks +9 lines, -7 lines 0 comments Download
M media/cast/net/cast_transport_impl.cc View 1 2 3 6 chunks +47 lines, -21 lines 0 comments Download
M media/cast/net/cast_transport_impl_unittest.cc View 1 2 3 9 chunks +21 lines, -15 lines 0 comments Download
M media/cast/net/mock_cast_transport.h View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M media/cast/net/rtcp/rtcp_defines.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M media/cast/net/rtcp/rtcp_unittest.cc View 1 2 3 5 chunks +16 lines, -23 lines 0 comments Download
M media/cast/net/rtcp/sender_rtcp_session.h View 1 2 3 3 chunks +14 lines, -20 lines 0 comments Download
M media/cast/net/rtcp/sender_rtcp_session.cc View 1 2 3 6 chunks +11 lines, -35 lines 0 comments Download
M media/cast/sender/audio_sender.cc View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M media/cast/sender/frame_sender.h View 1 2 3 2 chunks +18 lines, -6 lines 0 comments Download
M media/cast/sender/frame_sender.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M media/cast/sender/video_sender.cc View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M media/cast/test/cast_benchmarks.cc View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
xjz
PTAL
4 years, 8 months ago (2016-04-13 20:51:05 UTC) #10
miu
Nice work! Great to get rid of all these extra callbacks. First round comments: https://codereview.chromium.org/1878883003/diff/160001/chrome/browser/media/cast_transport_host_filter.cc ...
4 years, 8 months ago (2016-04-15 23:14:39 UTC) #11
xjz
Addressed comments. PTAL. https://codereview.chromium.org/1878883003/diff/160001/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/1878883003/diff/160001/chrome/browser/media/cast_transport_host_filter.cc#newcode65 chrome/browser/media/cast_transport_host_filter.cc:65: cast::CastTransportHostFilter* cast_transport_host_filter) On 2016/04/15 23:14:39, miu ...
4 years, 8 months ago (2016-04-20 01:09:03 UTC) #15
miu
Looking good. More comments: https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport.h File media/cast/net/cast_transport.h (right): https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport.h#newcode73 media/cast/net/cast_transport.h:73: virtual void OnReceiverLogReceived(const RtcpReceiverLogMessage& log){}; ...
4 years, 7 months ago (2016-04-25 23:23:54 UTC) #16
xjz
Changes in PS#3: 1. Addressed comments. 2. Some renames. PTAL. Thanks! https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport.h File media/cast/net/cast_transport.h (right): ...
4 years, 7 months ago (2016-04-29 19:15:50 UTC) #17
miu
lgtm https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport_impl_unittest.cc File media/cast/net/cast_transport_impl_unittest.cc (right): https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport_impl_unittest.cc#newcode31 media/cast/net/cast_transport_impl_unittest.cc:31: class RtcpObserver : public SenderRtcpObserver { On 2016/04/29 ...
4 years, 7 months ago (2016-05-02 21:30:01 UTC) #18
xjz
https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport_impl_unittest.cc File media/cast/net/cast_transport_impl_unittest.cc (right): https://codereview.chromium.org/1878883003/diff/240001/media/cast/net/cast_transport_impl_unittest.cc#newcode31 media/cast/net/cast_transport_impl_unittest.cc:31: class RtcpObserver : public SenderRtcpObserver { On 2016/05/02 21:30:01, ...
4 years, 7 months ago (2016-05-03 18:13:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878883003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878883003/300001
4 years, 7 months ago (2016-05-03 18:14:01 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:300001)
4 years, 7 months ago (2016-05-03 19:10:49 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 19:12:42 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3ea24de275a40219d274361afa0a21d018594395
Cr-Commit-Position: refs/heads/master@{#391319}

Powered by Google App Engine
This is Rietveld 408576698