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

Issue 445933002: Cast: Move retransmission to the transport (Closed)

Created:
6 years, 4 months ago by Alpha Left Google
Modified:
6 years, 4 months ago
Reviewers:
Tom Sepez, hubbe
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+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
Project:
chromium
Visibility:
Public.

Description

Cast: Move retransmission to the transport This change is to move the logic of retransmission from AudioSender/ VideoSender to CastTransportSender. With this change AudioSender and VideoSender will not handle packets any more. They will simply see frames. Retransmission is now handled by CastTransportSender. Added two more public methods for CastTransportSender: * CancelSendingFrames Cancel sending certain frames. * SendFrameForKickstart Sends the last packet of a frame to kick start the session. cast_simulator shows no regression. BUG=393042 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290094

Patch Set 1 #

Patch Set 2 : IPC #

Total comments: 11

Patch Set 3 : comments #

Total comments: 2

Patch Set 4 : CancelSendingFrames & vector #

Patch Set 5 : benchmarks #

Patch Set 6 : fixed test compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -161 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 2 chunks +31 lines, -19 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 2 3 4 5 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/common/cast_messages.h View 1 2 3 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.h View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.cc View 1 2 3 1 chunk +12 lines, -10 lines 0 comments Download
M media/cast/net/cast_transport_sender.h View 1 2 3 1 chunk +9 lines, -13 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl.h View 1 2 3 3 chunks +24 lines, -5 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl.cc View 1 2 3 4 chunks +64 lines, -7 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl_unittest.cc View 1 2 3 3 chunks +160 lines, -2 lines 0 comments Download
M media/cast/net/rtcp/rtcp.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/rtp/rtp_sender.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/cast/net/rtp/rtp_sender.cc View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M media/cast/sender/audio_sender.cc View 1 2 3 3 chunks +4 lines, -22 lines 0 comments Download
M media/cast/sender/frame_sender.h View 2 chunks +2 lines, -1 line 0 comments Download
M media/cast/sender/frame_sender.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/sender/video_sender.cc View 1 2 3 3 chunks +4 lines, -22 lines 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M media/cast/test/cast_benchmarks.cc View 1 2 3 4 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Alpha Left Google
6 years, 4 months ago (2014-08-08 06:11:54 UTC) #1
Alpha Left Google
On 2014/08/08 06:11:54, Alpha wrote: ping.
6 years, 4 months ago (2014-08-11 18:53:32 UTC) #2
hubbe
A bunch of comments/questions. This means the RTCP parser needs a security review, right? https://codereview.chromium.org/445933002/diff/20001/media/cast/net/cast_transport_sender_impl.cc ...
6 years, 4 months ago (2014-08-11 19:11:50 UTC) #3
Alpha Left Google
https://codereview.chromium.org/445933002/diff/20001/media/cast/net/cast_transport_sender_impl.cc File media/cast/net/cast_transport_sender_impl.cc (right): https://codereview.chromium.org/445933002/diff/20001/media/cast/net/cast_transport_sender_impl.cc#newcode148 media/cast/net/cast_transport_sender_impl.cc:148: new Rtcp(base::Bind(&CastTransportSenderImpl::OnReceivedCastMessage, On 2014/08/11 19:11:49, hubbe wrote: > Do ...
6 years, 4 months ago (2014-08-11 21:03:18 UTC) #4
Alpha Left Google
Ping.
6 years, 4 months ago (2014-08-12 18:19:16 UTC) #5
hubbe
https://codereview.chromium.org/445933002/diff/40001/media/cast/net/rtp/rtp_sender.cc File media/cast/net/rtp/rtp_sender.cc (right): https://codereview.chromium.org/445933002/diff/40001/media/cast/net/rtp/rtp_sender.cc#newcode128 media/cast/net/rtp/rtp_sender.cc:128: ResendPackets(missing_frames_and_packets, true, base::TimeDelta()); Why go through ResendPackets()? Seems like ...
6 years, 4 months ago (2014-08-12 18:24:11 UTC) #6
Alpha Left Google
https://codereview.chromium.org/445933002/diff/40001/media/cast/net/rtp/rtp_sender.cc File media/cast/net/rtp/rtp_sender.cc (right): https://codereview.chromium.org/445933002/diff/40001/media/cast/net/rtp/rtp_sender.cc#newcode128 media/cast/net/rtp/rtp_sender.cc:128: ResendPackets(missing_frames_and_packets, true, base::TimeDelta()); On 2014/08/12 18:24:11, hubbe wrote: > ...
6 years, 4 months ago (2014-08-12 23:57:39 UTC) #7
Alpha Left Google
Ping.
6 years, 4 months ago (2014-08-14 18:36:11 UTC) #8
hubbe
lgtm
6 years, 4 months ago (2014-08-14 20:17:48 UTC) #9
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 4 months ago (2014-08-14 20:31:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/445933002/60001
6 years, 4 months ago (2014-08-14 20:33:16 UTC) #11
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 4 months ago (2014-08-14 21:34:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/445933002/80001
6 years, 4 months ago (2014-08-14 21:35:57 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 03:39:46 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 03:45:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4482)
6 years, 4 months ago (2014-08-15 03:45:55 UTC) #16
Alpha Left Google
+tsepez for IPC messages.
6 years, 4 months ago (2014-08-15 21:08:56 UTC) #17
Tom Sepez
Messages LGTM.
6 years, 4 months ago (2014-08-15 22:45:08 UTC) #18
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 4 months ago (2014-08-15 23:15:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/445933002/100001
6 years, 4 months ago (2014-08-15 23:18:27 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 05:42:29 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (100001) as 290094

Powered by Google App Engine
This is Rietveld 408576698