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

Issue 174183003: Cast:Transport: Dividing A/V Initialization pipeline (Closed)

Created:
6 years, 10 months ago by mikhal1
Modified:
6 years, 9 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, mikhal+watch_chromium.org, fischman+watch_chromium.org, jasonroberts+watch_google.com, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, hguihot+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Cast:Transport: Dividing A/V Initialization pipeline This cl is part of the effort to split the A/V initialization pipeline, which started in https://chromiumcodereview.appspot.com/163553006/. Main changes in this cl: 1. Adding initialization functions to audio and video. 2. Changing the Create API to return a scoped ptr. 3. Using weak pointers in lieu of Unretained (part of BUG=344621 ) BUG=346822 This cl must be committed prior to issue 163553006 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254615

Patch Set 1 #

Total comments: 15

Patch Set 2 : Responding to review #

Total comments: 11

Patch Set 3 : Responding to review + rebasing #

Total comments: 4

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : fixing errors and yet another rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -277 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 4 5 4 chunks +56 lines, -34 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 2 3 4 5 6 chunks +23 lines, -32 lines 0 comments Download
M chrome/common/cast_messages.h View 1 2 3 4 3 chunks +28 lines, -13 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 4 5 4 chunks +24 lines, -22 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M media/cast/audio_sender/audio_sender.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M media/cast/audio_sender/audio_sender_unittest.cc View 1 2 3 4 2 chunks +9 lines, -5 lines 0 comments Download
M media/cast/rtcp/rtcp_unittest.cc View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 4 5 6 chunks +26 lines, -19 lines 0 comments Download
M media/cast/test/sender.cc View 1 2 3 4 5 1 chunk +19 lines, -13 lines 0 comments Download
M media/cast/transport/cast_transport_config.h View 1 2 1 chunk +22 lines, -18 lines 0 comments Download
M media/cast/transport/cast_transport_config.cc View 1 2 2 chunks +14 lines, -13 lines 0 comments Download
M media/cast/transport/cast_transport_defines.h View 1 chunk +4 lines, -2 lines 0 comments Download
M media/cast/transport/cast_transport_sender.h View 1 2 3 4 5 chunks +15 lines, -4 lines 0 comments Download
M media/cast/transport/cast_transport_sender_impl.h View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M media/cast/transport/cast_transport_sender_impl.cc View 1 2 3 4 3 chunks +52 lines, -27 lines 0 comments Download
M media/cast/transport/pacing/paced_sender.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.h View 2 chunks +17 lines, -7 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.cc View 1 2 3 4 2 chunks +29 lines, -27 lines 0 comments Download
M media/cast/transport/transport_audio_sender.h View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/transport/transport_audio_sender.cc View 2 chunks +7 lines, -9 lines 0 comments Download
M media/cast/transport/transport_video_sender.h View 2 chunks +2 lines, -3 lines 0 comments Download
M media/cast/transport/transport_video_sender.cc View 2 chunks +8 lines, -10 lines 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
mikhal1
Please review, -Mikhal
6 years, 10 months ago (2014-02-20 22:44:39 UTC) #1
mikhal1
ping
6 years, 10 months ago (2014-02-21 21:59:49 UTC) #2
hubbe
https://codereview.chromium.org/174183003/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/174183003/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode72 chrome/browser/media/cast_transport_host_filter.cc:72: weak_factory_.GetWeakPtr(), There should be no need for weak PTRs ...
6 years, 10 months ago (2014-02-21 23:41:22 UTC) #3
mikhal1
+fischman -Responding to review and rebasing https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode72 chrome/browser/media/cast_transport_host_filter.cc:72: weak_factory_.GetWeakPtr(), On 2014/02/21 ...
6 years, 9 months ago (2014-02-24 17:02:50 UTC) #4
Ami GONE FROM CHROMIUM
I don't know this code; comments are general-purpose. https://chromiumcodereview.appspot.com/174183003/diff/120001/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://chromiumcodereview.appspot.com/174183003/diff/120001/chrome/renderer/media/cast_session_delegate.cc#newcode110 chrome/renderer/media/cast_session_delegate.cc:110: media::cast::transport::CastTransportVideoConfig ...
6 years, 9 months ago (2014-02-25 00:22:16 UTC) #5
hubbe
https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc#newcode117 chrome/renderer/media/cast_session_delegate.cc:117: weak_factory_.GetWeakPtr()))); On 2014/02/24 17:02:50, mikhal1 wrote: > Specifically here, ...
6 years, 9 months ago (2014-02-25 00:37:04 UTC) #6
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://chromiumcodereview.appspot.com/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc#newcode117 chrome/renderer/media/cast_session_delegate.cc:117: weak_factory_.GetWeakPtr()))); On 2014/02/25 00:37:04, hubbe wrote: > On 2014/02/24 ...
6 years, 9 months ago (2014-02-25 00:57:24 UTC) #7
mikhal1
PTAL https://codereview.chromium.org/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc File chrome/renderer/media/cast_session_delegate.cc (right): https://codereview.chromium.org/174183003/diff/1/chrome/renderer/media/cast_session_delegate.cc#newcode117 chrome/renderer/media/cast_session_delegate.cc:117: weak_factory_.GetWeakPtr()))); Back to unretained, added a comment, On ...
6 years, 9 months ago (2014-02-25 18:07:00 UTC) #8
Ami GONE FROM CHROMIUM
Once https://codereview.chromium.org/177113007/ lands you won't need my review, so backing off. https://codereview.chromium.org/174183003/diff/220001/chrome/renderer/media/cast_session_delegate.h File chrome/renderer/media/cast_session_delegate.h (right): ...
6 years, 9 months ago (2014-02-25 18:35:08 UTC) #9
hubbe
LGTM Please make sure you got all of Ami's comments addressed though.
6 years, 9 months ago (2014-02-25 22:10:50 UTC) #10
mikhal1
https://codereview.chromium.org/174183003/diff/220001/chrome/renderer/media/cast_session_delegate.h File chrome/renderer/media/cast_session_delegate.h (right): https://codereview.chromium.org/174183003/diff/220001/chrome/renderer/media/cast_session_delegate.h#newcode28 chrome/renderer/media/cast_session_delegate.h:28: class EncodingEventSubscriber; You're right, sorry. On 2014/02/25 18:35:08, Ami ...
6 years, 9 months ago (2014-02-25 22:33:32 UTC) #11
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-02-25 22:33:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/220001
6 years, 9 months ago (2014-02-25 22:50:40 UTC) #13
mikhal1
The CQ bit was unchecked by mikhal@chromium.org
6 years, 9 months ago (2014-02-25 23:11:19 UTC) #14
mikhal1
+palmer for chrome/common/cast_messages.h
6 years, 9 months ago (2014-02-25 23:19:37 UTC) #15
mikhal1
Actually adding Palmer (cast_messages)
6 years, 9 months ago (2014-02-26 17:34:14 UTC) #16
palmer
chrome/common/cast_messages.h LGTM.
6 years, 9 months ago (2014-02-26 23:02:07 UTC) #17
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-02-26 23:19:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/190002
6 years, 9 months ago (2014-02-26 23:19:35 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-26 23:19:43 UTC) #20
commit-bot: I haz the power
Failed to apply patch for chrome/browser/media/cast_transport_host_filter.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-02-26 23:19:43 UTC) #21
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-02-26 23:53:54 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/250001
6 years, 9 months ago (2014-02-26 23:56:07 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 01:31:40 UTC) #24
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 9 months ago (2014-02-27 01:31:40 UTC) #25
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-02-27 17:07:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/270001
6 years, 9 months ago (2014-02-27 17:08:37 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 18:26:47 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 9 months ago (2014-02-27 18:26:48 UTC) #29
mikhal1
The CQ bit was checked by mikhal@chromium.org
6 years, 9 months ago (2014-03-03 18:04:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/290001
6 years, 9 months ago (2014-03-03 18:05:08 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/290001
6 years, 9 months ago (2014-03-03 18:31:36 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@chromium.org/174183003/290001
6 years, 9 months ago (2014-03-03 19:59:09 UTC) #33
commit-bot: I haz the power
6 years, 9 months ago (2014-03-04 00:26:14 UTC) #34
Message was sent while issue was closed.
Change committed as 254615

Powered by Google App Engine
This is Rietveld 408576698