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

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed)

Created:
5 years ago by Irfan
Modified:
4 years, 11 months ago
Reviewers:
xjz, miu
CC:
chromium-reviews, cbentzel+watch_chromium.org, imcheng+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@timestamp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cast: Split Rtcp into two for sender and receiver Splits the Rtcp class into RTP sender and receiver specific files. The result is that each class now maintains state that is only appropriate as a RTP sender or a RTP receiver. For example, the receiver now removes: - Callbacks that were not being invoked - RTT calculations that never get used (since it is only needed for congestion control on sender) - Log handling and deduplication that is only useful at sender The sender removes: - Lip sync info tracking (from a sender) that is done at a receiver The current CL does not modify any of the rest of existing functionality which make sense as follow ups. BUG=530843 Committed: https://crrev.com/7c78ac257eb380c35b27c34c26ab4764f9d4fee7 Cr-Commit-Position: refs/heads/master@{#367143}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing rtcp_session.h and a few comments #

Total comments: 5

Patch Set 3 : Fix nits #

Patch Set 4 : Add correct header to build hash_set for all platforms #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -1561 lines) Patch
M media/cast/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M media/cast/cast.gyp View 1 chunk +4 lines, -2 lines 0 comments Download
M media/cast/net/cast_transport_config.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/cast_transport_sender_impl.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl.cc View 1 2 3 4 8 chunks +26 lines, -39 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + media/cast/net/rtcp/receiver_rtcp_session.h View 1 2 3 4 4 chunks +37 lines, -120 lines 0 comments Download
A + media/cast/net/rtcp/receiver_rtcp_session.cc View 1 2 7 chunks +47 lines, -296 lines 0 comments Download
D media/cast/net/rtcp/rtcp.h View 1 2 3 4 1 chunk +0 lines, -191 lines 0 comments Download
D media/cast/net/rtcp/rtcp.cc View 1 chunk +0 lines, -421 lines 0 comments Download
M media/cast/net/rtcp/rtcp_defines.h View 1 2 3 4 3 chunks +6 lines, -4 lines 0 comments Download
A + media/cast/net/rtcp/rtcp_session.h View 1 2 3 4 1 chunk +11 lines, -18 lines 0 comments Download
M media/cast/net/rtcp/rtcp_unittest.cc View 1 2 3 4 12 chunks +45 lines, -49 lines 0 comments Download
M media/cast/net/rtcp/rtcp_utility.h View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M media/cast/net/rtcp/rtcp_utility.cc View 1 2 3 4 4 chunks +33 lines, -4 lines 0 comments Download
A + media/cast/net/rtcp/sender_rtcp_session.h View 1 2 3 4 2 chunks +75 lines, -130 lines 0 comments Download
A + media/cast/net/rtcp/sender_rtcp_session.cc View 1 2 7 chunks +93 lines, -243 lines 0 comments Download
M media/cast/net/rtp/cast_message_builder.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M media/cast/net/rtp/cast_message_builder_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/net/rtp/framer.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/net/rtp/receiver_stats.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M media/cast/receiver/cast_receiver_impl.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/receiver/frame_receiver.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/receiver/frame_receiver.cc View 1 2 3 4 6 chunks +21 lines, -22 lines 0 comments Download
M media/cast/sender/audio_sender_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/frame_sender.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
Irfan
PTAL. Primary goal was to split first and make more improvement iteratively. Needs more testing ...
5 years ago (2015-12-11 00:20:33 UTC) #3
xjz
https://codereview.chromium.org/1520613004/diff/1/media/cast/net/rtcp/receiver_rtcp_session.h File media/cast/net/rtcp/receiver_rtcp_session.h (right): https://codereview.chromium.org/1520613004/diff/1/media/cast/net/rtcp/receiver_rtcp_session.h#newcode20 media/cast/net/rtcp/receiver_rtcp_session.h:20: class ReceiverRtcpSession : public RtcpSession { Where is RtcpSession ...
5 years ago (2015-12-11 18:02:47 UTC) #4
Irfan
https://codereview.chromium.org/1520613004/diff/1/media/cast/net/rtcp/receiver_rtcp_session.h File media/cast/net/rtcp/receiver_rtcp_session.h (right): https://codereview.chromium.org/1520613004/diff/1/media/cast/net/rtcp/receiver_rtcp_session.h#newcode20 media/cast/net/rtcp/receiver_rtcp_session.h:20: class ReceiverRtcpSession : public RtcpSession { On 2015/12/11 18:02:47, ...
5 years ago (2015-12-11 18:42:57 UTC) #5
miu
Excellent clean-up! :) lgtm % nits: https://codereview.chromium.org/1520613004/diff/20001/media/cast/net/cast_transport_sender_impl.cc File media/cast/net/cast_transport_sender_impl.cc (right): https://codereview.chromium.org/1520613004/diff/20001/media/cast/net/cast_transport_sender_impl.cc#newcode476 media/cast/net/cast_transport_sender_impl.cc:476: rtcp.SendRtcpReport(time_data, cast_message, target_delay, ...
5 years ago (2015-12-12 00:53:25 UTC) #6
Irfan
https://codereview.chromium.org/1520613004/diff/20001/media/cast/net/cast_transport_sender_impl.cc File media/cast/net/cast_transport_sender_impl.cc (right): https://codereview.chromium.org/1520613004/diff/20001/media/cast/net/cast_transport_sender_impl.cc#newcode476 media/cast/net/cast_transport_sender_impl.cc:476: rtcp.SendRtcpReport(time_data, cast_message, target_delay, rtcp_events, On 2015/12/12 00:53:25, miu wrote: ...
5 years ago (2015-12-12 01:07:37 UTC) #7
Irfan
PTAL
5 years ago (2015-12-12 01:22:13 UTC) #8
miu
lgtm
5 years ago (2015-12-12 01:45:44 UTC) #9
xjz
lgtm
5 years ago (2015-12-14 18:06:05 UTC) #10
Irfan
PTAL
4 years, 11 months ago (2015-12-30 00:19:16 UTC) #12
miu
lgtm
4 years, 11 months ago (2015-12-30 05:29:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520613004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520613004/100001
4 years, 11 months ago (2015-12-30 06:33:31 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 11 months ago (2015-12-30 06:38:07 UTC) #18
commit-bot: I haz the power
4 years, 11 months ago (2015-12-30 06:39:01 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7c78ac257eb380c35b27c34c26ab4764f9d4fee7
Cr-Commit-Position: refs/heads/master@{#367143}

Powered by Google App Engine
This is Rietveld 408576698