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

Issue 765643006: Cast: Make receiver use cast_transport (Closed)

Created:
6 years ago by hubbe
Modified:
6 years ago
Reviewers:
Tom Sepez, miu
CC:
chromium-reviews, hclam+watch_chromium.org, cbentzel+watch_chromium.org, imcheng+watch_chromium.org, feature-media-reviews_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, posciak+watch_chromium.org, miu+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Make receiver use cast_transport Also, fix rtcp_builder to not be responsible for logging event redundancy. Instead, we make the rtcp_event_subscriber do that. Committed: https://crrev.com/8029778b0e060e4a22c59fa40ca95e12c437c1f7 Cr-Commit-Position: refs/heads/master@{#307814}

Patch Set 1 #

Total comments: 38

Patch Set 2 : comments addressed #

Patch Set 3 : build and test fixes #

Patch Set 4 : ignore results properly #

Patch Set 5 : test fix #

Patch Set 6 : fix end2end test #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+830 lines, -332 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 11 chunks +53 lines, -14 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 2 3 4 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/common/cast_messages.h View 1 2 chunks +47 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_ipc_dispatcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/media/cast_ipc_dispatcher.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.h View 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.cc View 1 2 3 3 chunks +68 lines, -2 lines 4 comments Download
M media/cast/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/cast.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/cast_receiver.h View 2 chunks +3 lines, -4 lines 0 comments Download
M media/cast/cast_testing.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/cast_transport_config.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/cast_transport_sender.h View 3 chunks +21 lines, -0 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl.h View 6 chunks +27 lines, -1 line 0 comments Download
M media/cast/net/cast_transport_sender_impl.cc View 11 chunks +68 lines, -12 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl_unittest.cc View 3 chunks +6 lines, -0 lines 0 comments Download
A media/cast/net/mock_cast_transport_sender.h View 1 chunk +51 lines, -0 lines 0 comments Download
A + media/cast/net/mock_cast_transport_sender.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/cast/net/rtcp/receiver_rtcp_event_subscriber.h View 1 5 chunks +29 lines, -6 lines 0 comments Download
M media/cast/net/rtcp/receiver_rtcp_event_subscriber.cc View 1 5 chunks +54 lines, -12 lines 0 comments Download
M media/cast/net/rtcp/receiver_rtcp_event_subscriber_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M media/cast/net/rtcp/rtcp.h View 1 3 chunks +19 lines, -15 lines 0 comments Download
M media/cast/net/rtcp/rtcp.cc View 1 4 chunks +19 lines, -17 lines 0 comments Download
M media/cast/net/rtcp/rtcp_builder.h View 4 chunks +3 lines, -25 lines 0 comments Download
M media/cast/net/rtcp/rtcp_builder.cc View 6 chunks +5 lines, -63 lines 0 comments Download
M media/cast/net/rtcp/rtcp_builder_unittest.cc View 1 11 chunks +32 lines, -51 lines 0 comments Download
M media/cast/net/rtcp/rtcp_defines.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
M media/cast/net/rtcp/rtcp_defines.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M media/cast/net/rtcp/rtcp_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/net/rtp/rtp_parser.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/net/rtp/rtp_parser.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M media/cast/net/udp_transport.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/net/udp_transport.cc View 1 2 4 chunks +18 lines, -6 lines 0 comments Download
M media/cast/net/udp_transport_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M media/cast/receiver/cast_receiver_impl.h View 3 chunks +2 lines, -7 lines 0 comments Download
M media/cast/receiver/cast_receiver_impl.cc View 3 chunks +7 lines, -21 lines 0 comments Download
M media/cast/receiver/frame_receiver.h View 3 chunks +4 lines, -5 lines 0 comments Download
M media/cast/receiver/frame_receiver.cc View 5 chunks +21 lines, -16 lines 0 comments Download
M media/cast/receiver/frame_receiver_unittest.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M media/cast/sender/audio_sender_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/sender/video_sender_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/test/cast_benchmarks.cc View 1 2 4 chunks +49 lines, -5 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 3 chunks +29 lines, -8 lines 0 comments Download
M media/cast/test/sender.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M media/cast/test/simulator.cc View 1 4 chunks +32 lines, -3 lines 0 comments Download
M media/cast/test/utility/in_process_receiver.h View 2 chunks +4 lines, -1 line 0 comments Download
M media/cast/test/utility/in_process_receiver.cc View 1 2 3 4 5 3 chunks +21 lines, -11 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
hubbe
6 years ago (2014-12-03 20:31:30 UTC) #2
miu
https://codereview.chromium.org/765643006/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/765643006/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode242 chrome/browser/media/cast_transport_host_filter.cc:242: id_map_.Lookup(channel_id); I think this statement fits on one line. ...
6 years ago (2014-12-04 04:18:55 UTC) #3
hubbe
https://codereview.chromium.org/765643006/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/765643006/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode242 chrome/browser/media/cast_transport_host_filter.cc:242: id_map_.Lookup(channel_id); On 2014/12/04 04:18:53, miu wrote: > I think ...
6 years ago (2014-12-05 23:57:21 UTC) #4
miu
lgtm, but CastStreamingApiTestWithPixelOutput.EndToEnd needs attention before commit.
6 years ago (2014-12-06 03:55:36 UTC) #5
miu
...and a compile failure on the linux_chromium_rel_ng trybot.
6 years ago (2014-12-06 03:56:31 UTC) #6
hubbe
+palmer for cast_messages.h Still working on making sure all building and testing works.
6 years ago (2014-12-08 19:25:11 UTC) #8
hubbe
-palmer, +tsepez
6 years ago (2014-12-09 23:40:09 UTC) #10
Tom Sepez
Messages LGTM https://codereview.chromium.org/765643006/diff/90001/chrome/renderer/media/cast_transport_sender_ipc.cc File chrome/renderer/media/cast_transport_sender_ipc.cc (right): https://codereview.chromium.org/765643006/diff/90001/chrome/renderer/media/cast_transport_sender_ipc.cc#newcode94 chrome/renderer/media/cast_transport_sender_ipc.cc:94: nit: extra blank line. https://codereview.chromium.org/765643006/diff/90001/chrome/renderer/media/cast_transport_sender_ipc.cc#newcode104 chrome/renderer/media/cast_transport_sender_ipc.cc:104: // ...
6 years ago (2014-12-10 23:52:57 UTC) #11
hubbe
https://codereview.chromium.org/765643006/diff/90001/chrome/renderer/media/cast_transport_sender_ipc.cc File chrome/renderer/media/cast_transport_sender_ipc.cc (right): https://codereview.chromium.org/765643006/diff/90001/chrome/renderer/media/cast_transport_sender_ipc.cc#newcode94 chrome/renderer/media/cast_transport_sender_ipc.cc:94: On 2014/12/10 23:52:57, Tom Sepez wrote: > nit: extra ...
6 years ago (2014-12-11 00:10:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765643006/90001
6 years ago (2014-12-11 00:12:58 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:90001)
6 years ago (2014-12-11 01:06:08 UTC) #15
commit-bot: I haz the power
6 years ago (2014-12-11 01:06:54 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8029778b0e060e4a22c59fa40ca95e12c437c1f7
Cr-Commit-Position: refs/heads/master@{#307814}

Powered by Google App Engine
This is Rietveld 408576698