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

Issue 281453003: Cast: Simplify code path for RTCP sender report (Closed)

Created:
6 years, 7 months ago by Alpha Left Google
Modified:
6 years, 7 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, fischman+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, hguihot+watch_chromium.org, miu+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Visibility:
Public.

Description

Cast: Simplify code path for RTCP sender report Sending a RTCP sender report used to require a couple round trips of IPCs. This is much simplified in this change. AudioSender or VideoSender sends the latest known NTP time and corresponding RTP timestamp. Sends it to CastTransportSender, which appends the current packet ccount and octet count to form a sender report. There is no need for AudioSender and VideoSender to know the current packet count and octet count. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270954

Patch Set 1 #

Total comments: 14

Patch Set 2 : comments done #

Patch Set 3 : merged #

Patch Set 4 : fixed test #

Patch Set 5 : #

Patch Set 6 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -343 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 4 chunks +3 lines, -22 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M chrome/common/cast_messages.h View 1 2 4 chunks +5 lines, -19 lines 0 comments Download
M chrome/renderer/media/cast_ipc_dispatcher.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.h View 3 chunks +3 lines, -14 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.cc View 4 chunks +6 lines, -23 lines 0 comments Download
M media/cast/audio_sender/audio_sender.h View 1 3 chunks +2 lines, -5 lines 0 comments Download
M media/cast/audio_sender/audio_sender.cc View 4 chunks +9 lines, -15 lines 0 comments Download
M media/cast/cast.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/cast_defines.h View 1 1 chunk +0 lines, -49 lines 0 comments Download
M media/cast/rtcp/rtcp.h View 1 chunk +6 lines, -1 line 0 comments Download
M media/cast/rtcp/rtcp.cc View 3 chunks +11 lines, -8 lines 0 comments Download
M media/cast/rtcp/rtcp_unittest.cc View 1 14 chunks +17 lines, -18 lines 0 comments Download
A media/cast/rtp_timestamp_helper.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
A media/cast/rtp_timestamp_helper.cc View 1 1 chunk +35 lines, -0 lines 0 comments Download
M media/cast/transport/cast_transport_config.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/cast/transport/cast_transport_sender.h View 3 chunks +5 lines, -14 lines 0 comments Download
M media/cast/transport/cast_transport_sender_impl.h View 2 chunks +3 lines, -7 lines 0 comments Download
M media/cast/transport/cast_transport_sender_impl.cc View 2 chunks +17 lines, -13 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h View 2 chunks +5 lines, -8 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc View 4 chunks +2 lines, -13 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.h View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.cc View 2 chunks +0 lines, -30 lines 0 comments Download
M media/cast/transport/transport_audio_sender.h View 1 chunk +3 lines, -4 lines 0 comments Download
M media/cast/transport/transport_audio_sender.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M media/cast/transport/transport_video_sender.h View 1 chunk +3 lines, -4 lines 0 comments Download
M media/cast/transport/transport_video_sender.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M media/cast/video_sender/video_sender.h View 1 2 3 4 5 3 chunks +2 lines, -6 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 5 4 chunks +9 lines, -14 lines 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
Alpha Left Google
6 years, 7 months ago (2014-05-12 00:25:44 UTC) #1
Alpha Left Google
6 years, 7 months ago (2014-05-12 19:33:28 UTC) #2
hubbe
LGTM, with one question/nit. https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h File media/cast/cast_defines.h (right): https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h#newcode197 media/cast/cast_defines.h:197: *rtp_timestamp = last_rtp_timestamp_ + elapsed_time.InMilliseconds() ...
6 years, 7 months ago (2014-05-12 19:46:04 UTC) #3
Alpha Left Google
https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h File media/cast/cast_defines.h (right): https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h#newcode197 media/cast/cast_defines.h:197: *rtp_timestamp = last_rtp_timestamp_ + elapsed_time.InMilliseconds() * On 2014/05/12 19:46:04, ...
6 years, 7 months ago (2014-05-12 19:49:33 UTC) #4
miu
https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h File media/cast/cast_defines.h (right): https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h#newcode179 media/cast/cast_defines.h:179: class RtpTimestampHelper { Please make this class Chromium-style compliant, ...
6 years, 7 months ago (2014-05-13 01:11:56 UTC) #5
Alpha Left Google
+jorgelo for *messages*.h https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h File media/cast/cast_defines.h (right): https://codereview.chromium.org/281453003/diff/1/media/cast/cast_defines.h#newcode179 media/cast/cast_defines.h:179: class RtpTimestampHelper { On 2014/05/13 01:11:56, ...
6 years, 7 months ago (2014-05-13 21:45:38 UTC) #6
miu
lgtm
6 years, 7 months ago (2014-05-14 03:56:30 UTC) #7
Jorge Lucangeli Obes
chrome/common/cast_messages.h lgtm
6 years, 7 months ago (2014-05-14 11:40:16 UTC) #8
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-14 17:37:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/281453003/20001
6 years, 7 months ago (2014-05-14 17:38:05 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 18:08:10 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 18:12:18 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67666) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/16502) linux_chromium_chromeos_rel ...
6 years, 7 months ago (2014-05-14 18:12:19 UTC) #13
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-14 21:28:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/281453003/40001
6 years, 7 months ago (2014-05-14 21:28:53 UTC) #15
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-14 22:43:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/281453003/60001
6 years, 7 months ago (2014-05-14 22:45:06 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 03:27:44 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 04:20:55 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/31777)
6 years, 7 months ago (2014-05-15 04:20:56 UTC) #20
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-16 01:47:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/281453003/80001
6 years, 7 months ago (2014-05-16 01:47:37 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 02:20:49 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 02:24:23 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68043) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/27652) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-16 02:24:24 UTC) #25
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-16 04:13:30 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/281453003/100001
6 years, 7 months ago (2014-05-16 04:13:35 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 07:55:32 UTC) #28
Message was sent while issue was closed.
Change committed as 270954

Powered by Google App Engine
This is Rietveld 408576698