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

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed)

Created:
5 years, 10 months ago by hubbe
Modified:
5 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, posciak+watch_chromium.org, jam, imcheng+watch_chromium.org, mlamouri+watch-content_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cast: Basic cast_receiver API for chrome. Javascript bindings in separate CL. Committed: https://crrev.com/a5ed06ce43f57f7d4243dae407e16937a2a4e00f Cr-Commit-Position: refs/heads/master@{#317925}

Patch Set 1 #

Total comments: 42

Patch Set 2 : all comments addressed #

Patch Set 3 : missed include file changes #

Patch Set 4 : missed include file changes #

Total comments: 1

Patch Set 5 : bugfix #

Patch Set 6 : missed include file changes #

Total comments: 20

Patch Set 7 : all comments addressed #

Patch Set 8 : merged #

Total comments: 37

Patch Set 9 : comments addressed #

Patch Set 10 : media_stream_source.{h,cc} moved to separate CL, cleanup, tested #

Total comments: 4

Patch Set 11 : updated header guard #

Patch Set 12 : merged #

Total comments: 1

Patch Set 13 : removed extra BUILD.gn line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+845 lines, -418 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/renderer/media/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_audio_valve.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_audio_valve.cc View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_session.h View 1 2 3 4 5 6 7 8 9 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_session.cc View 1 2 3 4 5 6 7 8 9 1 chunk +198 lines, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_session_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/renderer/media/cast_receiver_session_delegate.cc View 1 2 3 4 5 6 7 8 9 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/renderer/media/cast_session.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.h View 1 2 3 4 5 6 7 8 9 3 chunks +41 lines, -15 lines 0 comments Download
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 4 5 6 7 8 9 4 chunks +58 lines, -29 lines 0 comments Download
M content/browser/media/capture/content_video_capture_device_core.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/common/media/media_param_traits.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/media/video_capture.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/media/video_capture_messages.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/media_stream_video_sink.h View 1 2 chunks +2 lines, -20 lines 0 comments Download
M content/renderer/media/media_stream_video_capture_source_unittest.cc View 1 2 3 4 5 6 6 chunks +14 lines, -10 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.h View 1 2 3 4 5 6 4 chunks +18 lines, -28 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.cc View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -7 lines 0 comments Download
M content/renderer/media/media_stream_video_source.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_impl_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_message_filter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_message_filter_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_source_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc/video_destination_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc/webrtc_video_capturer_adapter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_capturer.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 4 chunks +11 lines, -10 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_platform_camera_device.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_video_capture.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_video_capture_host.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
A + media/base/video_capture_types.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -3 lines 0 comments Download
A + media/base/video_capture_types.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A media/base/video_capturer_source.h View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
A + media/base/video_capturer_source.cc View 1 1 chunk +4 lines, -8 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M media/video/capture/fake_video_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/file_video_capture_device.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/linux/video_capture_device_factory_linux.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/linux/video_capture_device_linux.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_avfoundation_mac.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_mac.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_qtkit_mac.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device_info.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
D media/video/capture/video_capture_types.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -119 lines 0 comments Download
D media/video/capture/video_capture_types.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -113 lines 0 comments Download
M media/video/capture/win/capability_list_win.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/win/sink_filter_win.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/win/sink_input_pin_win.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/win/video_capture_device_win.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (11 generated)
hubbe
Preliminary review, I don't intend to check this in until I have javascript bindings that ...
5 years, 10 months ago (2015-02-03 01:06:44 UTC) #2
Alpha Left Google
5 years, 10 months ago (2015-02-03 23:25:42 UTC) #4
Alpha Left Google
First round of comments. Please also add perkj@ as he might have comments about the ...
5 years, 10 months ago (2015-02-04 03:07:53 UTC) #5
hubbe
PTAL https://codereview.chromium.org/883293005/diff/1/chrome/renderer/media/cast_receiver_session.cc File chrome/renderer/media/cast_receiver_session.cc (right): https://codereview.chromium.org/883293005/diff/1/chrome/renderer/media/cast_receiver_session.cc#newcode16 chrome/renderer/media/cast_receiver_session.cc:16: class CastStreamingAudioCaptureSource : public media::AudioCapturerSource { On 2015/02/04 ...
5 years, 10 months ago (2015-02-05 20:23:01 UTC) #6
Alpha Left Google
LGTM with two nits. Please add perkj@ to review the MediaStream* changes. https://codereview.chromium.org/883293005/diff/1/content/public/renderer/media_stream_source_api.h File content/public/renderer/media_stream_source_api.h ...
5 years, 10 months ago (2015-02-07 01:30:30 UTC) #7
perkj_chrome
Looks good. A nit but the name VideoCapturer disturbs me a bit in this context. ...
5 years, 10 months ago (2015-02-09 14:50:27 UTC) #9
hubbe
I realize that the terminology is getting pretty convoluted. For now I think "capturer" is ...
5 years, 10 months ago (2015-02-09 20:13:33 UTC) #11
perkj_chrome
lgtm I have not reviewed cast specific files. Note: You will need owners review in ...
5 years, 10 months ago (2015-02-10 15:29:51 UTC) #12
miu
lgtm Lots of little things (mostly nits and sanity-check questions): https://codereview.chromium.org/883293005/diff/140001/chrome/renderer/media/DEPS File chrome/renderer/media/DEPS (right): https://codereview.chromium.org/883293005/diff/140001/chrome/renderer/media/DEPS#newcode3 ...
5 years, 10 months ago (2015-02-11 02:52:50 UTC) #14
hubbe
https://codereview.chromium.org/883293005/diff/140001/chrome/renderer/media/DEPS File chrome/renderer/media/DEPS (right): https://codereview.chromium.org/883293005/diff/140001/chrome/renderer/media/DEPS#newcode3 chrome/renderer/media/DEPS:3: "+media/video", # For basic audio functions. On 2015/02/11 02:52:49, ...
5 years, 10 months ago (2015-02-11 22:38:17 UTC) #16
hubbe
Ok, preliminary reviews done and the code that uses this code is now done (in ...
5 years, 10 months ago (2015-02-19 01:13:57 UTC) #18
Alpha Left Google
https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h File chrome/renderer/media/cast_receiver_session.h (right): https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h#newcode67 chrome/renderer/media/cast_receiver_session.h:67: media::cast::FrameReceiverConfig video_config_; Why remove the const for these two ...
5 years, 10 months ago (2015-02-19 01:21:07 UTC) #19
hubbe
https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h File chrome/renderer/media/cast_receiver_session.h (right): https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h#newcode67 chrome/renderer/media/cast_receiver_session.h:67: media::cast::FrameReceiverConfig video_config_; On 2015/02/19 01:21:07, Alpha wrote: > Why ...
5 years, 10 months ago (2015-02-19 01:22:31 UTC) #20
Alpha Left Google
On 2015/02/19 01:22:31, hubbe wrote: > https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h > File chrome/renderer/media/cast_receiver_session.h (right): > > https://codereview.chromium.org/883293005/diff/180001/chrome/renderer/media/cast_receiver_session.h#newcode67 > ...
5 years, 10 months ago (2015-02-19 01:26:02 UTC) #21
DaleCurtis
Why the move of video/capture stuff into media/base ?
5 years, 10 months ago (2015-02-19 01:29:40 UTC) #22
Tom Sepez
Rubberstamp LGTM for changing include path in video_capture_messages.h
5 years, 10 months ago (2015-02-19 17:57:15 UTC) #23
hubbe
On 2015/02/19 01:29:40, DaleCurtis wrote: > Why the move of video/capture stuff into media/base ? ...
5 years, 10 months ago (2015-02-19 18:31:49 UTC) #24
DaleCurtis
I don't think we want video/capture code in media/base; it's already a poor dumping ground ...
5 years, 10 months ago (2015-02-19 20:06:42 UTC) #25
Alpha Left Google
On 2015/02/19 20:06:42, DaleCurtis wrote: > I don't think we want video/capture code in media/base; ...
5 years, 10 months ago (2015-02-19 20:17:06 UTC) #26
hubbe
On 2015/02/19 20:17:06, Alpha wrote: > On 2015/02/19 20:06:42, DaleCurtis wrote: > > I don't ...
5 years, 10 months ago (2015-02-19 20:47:00 UTC) #27
DaleCurtis
Hmm, I see. This still feels pretty intimately tied with video capturing, most notably around ...
5 years, 10 months ago (2015-02-19 20:51:53 UTC) #28
hubbe
https://codereview.chromium.org/883293005/diff/180001/media/base/video_capture_types.h File media/base/video_capture_types.h (right): https://codereview.chromium.org/883293005/diff/180001/media/base/video_capture_types.h#newcode5 media/base/video_capture_types.h:5: #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_TYPES_H_ On 2015/02/19 20:51:53, DaleCurtis wrote: > Needs ...
5 years, 10 months ago (2015-02-19 22:55:25 UTC) #30
hubbe
On 2015/02/19 20:51:53, DaleCurtis wrote: > Hmm, I see. This still feels pretty intimately tied ...
5 years, 10 months ago (2015-02-19 23:17:39 UTC) #31
DaleCurtis
I'd defer to the capture/ folk on whether they like that or not. I think ...
5 years, 10 months ago (2015-02-20 21:10:30 UTC) #32
hubbe
Tommi: ping? Missing LGTM from an OWNER for these files: chrome/renderer/BUILD.gn content/public/renderer/media_stream_video_sink.h content/renderer/pepper/pepper_platform_camera_device.h content/renderer/pepper/pepper_platform_video_capture.h content/renderer/pepper/pepper_video_capture_host.h ...
5 years, 10 months ago (2015-02-23 23:18:23 UTC) #34
jam
On 2015/02/23 23:18:23, hubbe wrote: > Tommi: ping? > > Missing LGTM from an OWNER ...
5 years, 10 months ago (2015-02-23 23:57:58 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/883293005/240001
5 years, 10 months ago (2015-02-24 23:18:45 UTC) #38
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 10 months ago (2015-02-25 00:01:38 UTC) #39
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 00:02:07 UTC) #40
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/a5ed06ce43f57f7d4243dae407e16937a2a4e00f
Cr-Commit-Position: refs/heads/master@{#317925}

Powered by Google App Engine
This is Rietveld 408576698