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

Issue 14312015: Effects Pepper Plugin and MediaStream Glue. (Closed)

Created:
7 years, 8 months ago by Ronghua Wu (Left Chromium)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, dmichael (off chromium), Niklas Enbom, ryanpetrie
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Total comments: 20

Patch Set 16 : #

Total comments: 10

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Total comments: 24

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : #

Total comments: 12

Patch Set 23 : #

Total comments: 2

Patch Set 24 : #

Patch Set 25 : #

Patch Set 26 : #

Patch Set 27 : #

Patch Set 28 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+952 lines, -14 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +5 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +12 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +58 lines, -8 lines 0 comments Download
A content/renderer/media/media_stream_registry_interface.h View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +20 lines, -2 lines 0 comments Download
A content/renderer/media/mock_media_stream_registry.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +33 lines, -0 lines 0 comments Download
A content/renderer/media/mock_media_stream_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +54 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +6 lines, -4 lines 0 comments Download
A content/renderer/media/video_destination_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +99 lines, -0 lines 0 comments Download
A content/renderer/media/video_destination_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +199 lines, -0 lines 0 comments Download
A content/renderer/media/video_destination_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +127 lines, -0 lines 0 comments Download
A content/renderer/media/video_source_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +73 lines, -0 lines 0 comments Download
A content/renderer/media/video_source_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +142 lines, -0 lines 0 comments Download
A content/renderer/media/video_source_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +89 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Ronghua Wu (Left Chromium)
This is the glue layer between the Effects Pepper Plugin host and the webrtc MediaStream. ...
7 years, 8 months ago (2013-04-25 23:33:45 UTC) #1
Ronghua Wu (Left Chromium)
Talked to Bill and we agreed that this cl will use whatever libjingle preferred video ...
7 years, 7 months ago (2013-04-29 05:35:06 UTC) #2
Ronghua Wu (Left Chromium)
Ping for review as we are running out of time. The cl looks big but ...
7 years, 7 months ago (2013-04-30 15:41:19 UTC) #3
wjia(left Chromium)
Some high level comments. Will dive into detailed later. https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_destination_handler.cc#newcode80 content/renderer/media/video_destination_handler.cc:80: ...
7 years, 7 months ago (2013-04-30 18:32:11 UTC) #4
Ronghua Wu (Left Chromium)
Thanks Wei! https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_destination_handler.cc#newcode80 content/renderer/media/video_destination_handler.cc:80: if (!started_) { On 2013/04/30 18:32:11, wjia ...
7 years, 7 months ago (2013-04-30 22:42:16 UTC) #5
juberti
https://codereview.chromium.org/14312015/diff/82001/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://codereview.chromium.org/14312015/diff/82001/content/renderer/media/video_destination_handler.cc#newcode63 content/renderer/media/video_destination_handler.cc:63: return false; once is enough https://codereview.chromium.org/14312015/diff/82001/content/renderer/media/video_destination_handler.cc#newcode67 content/renderer/media/video_destination_handler.cc:67: // TODO(ronghuawu): ...
7 years, 7 months ago (2013-04-30 22:54:49 UTC) #6
dmichael (off chromium)
https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_source_handler.h File content/renderer/media/video_source_handler.h (right): https://codereview.chromium.org/14312015/diff/78001/content/renderer/media/video_source_handler.h#newcode32 content/renderer/media/video_source_handler.h:32: virtual bool GetFrame(cricket::VideoFrame** frame) = 0; On 2013/04/30 22:42:17, ...
7 years, 7 months ago (2013-04-30 23:05:39 UTC) #7
dmichael (off chromium)
7 years, 7 months ago (2013-04-30 23:06:23 UTC) #8
Ronghua Wu (Left Chromium)
Bill, as Justin brought this up, do you think I should use ImageData as the ...
7 years, 7 months ago (2013-04-30 23:07:14 UTC) #9
bbudge
On 2013/04/30 23:07:14, Ronghua Wu wrote: > Bill, as Justin brought this up, do you ...
7 years, 7 months ago (2013-04-30 23:09:42 UTC) #10
juberti
On 2013/04/30 23:07:14, Ronghua Wu wrote: > Bill, as Justin brought this up, do you ...
7 years, 7 months ago (2013-04-30 23:23:29 UTC) #11
Ronghua Wu (Left Chromium)
Talked to Bill, he mentioned we should use PPB_ImageData_Impl. @juberti, your comment makes sense. For ...
7 years, 7 months ago (2013-05-01 04:07:31 UTC) #12
Ronghua Wu (Left Chromium)
* Changed GetFrame (pulling) to GotFrame (pushing). * Changed PutFrame to use PPB_ImageData_Impl. (not completed, ...
7 years, 7 months ago (2013-05-01 05:34:21 UTC) #13
Ronghua Wu (Left Chromium)
Finished the converting from PPB_ImageData_Impl to cricket::CapturedFrame.
7 years, 7 months ago (2013-05-01 22:35:37 UTC) #14
wjia(left Chromium)
https://chromiumcodereview.appspot.com/14312015/diff/120002/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://chromiumcodereview.appspot.com/14312015/diff/120002/content/renderer/media/video_destination_handler.cc#newcode101 content/renderer/media/video_destination_handler.cc:101: LOG(ERROR) << "PpFrameWriter::PutFrame - Got RGBA which is not ...
7 years, 7 months ago (2013-05-03 02:00:38 UTC) #15
Ronghua Wu (Left Chromium)
Thanks Wei. PTAL. https://chromiumcodereview.appspot.com/14312015/diff/120002/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://chromiumcodereview.appspot.com/14312015/diff/120002/content/renderer/media/video_destination_handler.cc#newcode101 content/renderer/media/video_destination_handler.cc:101: LOG(ERROR) << "PpFrameWriter::PutFrame - Got RGBA ...
7 years, 7 months ago (2013-05-03 05:37:28 UTC) #16
Ronghua Wu (Left Chromium)
Wei, I've done with the further changes we discussed today: 1) Add lock to protect ...
7 years, 7 months ago (2013-05-03 19:01:06 UTC) #17
wjia(left Chromium)
look good. possibly last round. https://chromiumcodereview.appspot.com/14312015/diff/98005/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://chromiumcodereview.appspot.com/14312015/diff/98005/content/renderer/media/video_destination_handler.cc#newcode158 content/renderer/media/video_destination_handler.cc:158: const std::string& url, FrameWriterInterface** ...
7 years, 7 months ago (2013-05-03 21:42:55 UTC) #18
Ronghua Wu (Left Chromium)
PTAL thanks! https://chromiumcodereview.appspot.com/14312015/diff/98005/content/renderer/media/video_destination_handler.cc File content/renderer/media/video_destination_handler.cc (right): https://chromiumcodereview.appspot.com/14312015/diff/98005/content/renderer/media/video_destination_handler.cc#newcode158 content/renderer/media/video_destination_handler.cc:158: const std::string& url, FrameWriterInterface** frame_writer) { On ...
7 years, 7 months ago (2013-05-03 22:40:02 UTC) #19
wjia(left Chromium)
nice work! lgtm with nit. https://chromiumcodereview.appspot.com/14312015/diff/180001/content/renderer/media/video_destination_handler.h File content/renderer/media/video_destination_handler.h (right): https://chromiumcodereview.appspot.com/14312015/diff/180001/content/renderer/media/video_destination_handler.h#newcode81 content/renderer/media/video_destination_handler.h:81: // If |factory| is ...
7 years, 7 months ago (2013-05-03 22:45:16 UTC) #20
Ronghua Wu (Left Chromium)
Thanks a lot Wei. Will rebase, try one more time and then submit. https://chromiumcodereview.appspot.com/14312015/diff/180001/content/renderer/media/video_destination_handler.h File ...
7 years, 7 months ago (2013-05-03 22:47:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/14312015/191003
7 years, 7 months ago (2013-05-03 23:04:01 UTC) #22
Ronghua Wu (Left Chromium)
+ avi, jam, piman Can any of you review the changes to the 2 gyp ...
7 years, 7 months ago (2013-05-04 04:21:41 UTC) #23
Avi (use Gerrit)
gyp lgtm
7 years, 7 months ago (2013-05-04 04:45:57 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/14312015/135006
7 years, 7 months ago (2013-05-04 04:48:33 UTC) #25
commit-bot: I haz the power
Change committed as 198312
7 years, 7 months ago (2013-05-04 14:06:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/14312015/225001
7 years, 7 months ago (2013-05-05 15:11:04 UTC) #27
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-05 15:30:10 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/14312015/170002
7 years, 7 months ago (2013-05-05 15:35:41 UTC) #29
commit-bot: I haz the power
Change committed as 198377
7 years, 7 months ago (2013-05-06 05:35:09 UTC) #30
Jered
On 2013/05/06 05:35:09, I haz the power (commit-bot) wrote: > Change committed as 198377 This ...
7 years, 7 months ago (2013-05-07 15:42:54 UTC) #31
Jered
On 2013/05/07 15:42:54, Jered wrote: > On 2013/05/06 05:35:09, I haz the power (commit-bot) wrote: ...
7 years, 7 months ago (2013-05-07 15:46:20 UTC) #32
Ronghua Wu (Left Chromium)
7 years, 7 months ago (2013-05-07 17:14:50 UTC) #33
Message was sent while issue was closed.
On 2013/05/07 15:46:20, Jered wrote:
> On 2013/05/07 15:42:54, Jered wrote:
> > On 2013/05/06 05:35:09, I haz the power (commit-bot) wrote:
> > > Change committed as 198377
> > 
> > This broke enable_webrtc=0 because MediaStreamDependencyFactory is not
around.
> 
> Or actually VideoDestinationHandler::Open(). Dunno where the reference is,
> possibly the one in pepper. 
> 
> $ out/Release/chrome
> out/Release/chrome: symbol lookup error:
> /usr/local/google/chromium.git/src/out/Release/lib/libcontent.so: undefined
> symbol:
>
_ZN7content23VideoDestinationHandler4OpenEPNS_28MediaStreamDependencyFactoryEPNS_28MediaStreamRegistryInterfaceERKSsPPNS_20FrameWriterInterfaceE
> 
> which is
> content::VideoDestinationHandler::Open(content::MediaStreamDependencyFactory*,
> content::MediaStreamRegistryInterface*, std::string const&, content

Thanks for letting us know. https://codereview.chromium.org/14692004/  should
fix this.

Powered by Google App Engine
This is Rietveld 408576698