- From: Harald Alvestrand <harald@alvestrand.no>
- Date: Sat, 16 May 2015 10:16:32 +0200
- To: Mathieu Hofman <Mathieu.Hofman@citrix.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Den 15. mai 2015 22:50, skrev Mathieu Hofman: > Answering to myself here, I completely forgot about the ImageCapture API. > I think it would be useful for this API to be available in a worker and be able to transfer a MediaStream(Track) object to a worker through postMessage. > Thanks for the input! Would you be willing and able to provide a proposal for exactly what we need to change in the spec in order for this to be possible? And - should this be done as part of the ImageCapture API work, or as part of the Media Capture and Streams specification? > Mathieu > ________________________________________ > From: Mathieu Hofman > Sent: Friday, May 15, 2015 1:41 PM > To: Harald Alvestrand; public-media-capture@w3.org > Subject: RE: [Exposed] attribute on our APIs > > Sorry for missing this earlier. > > One use case I could see is processing of the media video track in a worker through a canvas element. Canvas can be manipulated in a worker through the CanvasProxy object. However there is no way to get the video content into the canvas from the worker, since the only path right now is through attaching the media stream to a video element and a canvas drawImage operation with the video element as source. > Because of this limitation it's probably fine to mark the API as exposed on Window only, but I'd like us to explore this use case and see if anything can be done to support it. > > Mathieu > ________________________________________ > From: Harald Alvestrand [harald@alvestrand.no] > Sent: Tuesday, May 12, 2015 1:23 PM > To: public-media-capture@w3.org > Subject: Re: [Exposed] attribute on our APIs > > Den 04. mai 2015 19:20, skrev Harald Alvestrand: >> On 04/29/2015 05:17 PM, Harald Alvestrand wrote: >>> Den 22. april 2015 19:18, skrev Martin Thomson: >>>> On 22 April 2015 at 05:16, Harald Alvestrand <harald@alvestrand.no> >>>> wrote: >>>>> What considerations do people know of that dictate whether or not we >>>>> should expose APIs to workers or not? >>>> The primary consideration is whether we want to expose them to workers. >>>> >>>> Maybe you should ask if anyone plans to implement X in workers. >>>> >>> As amended by Martin: >>> >>> Does anyone plan to implement any part of the Media Capture and Streams >>> API in workers? >>> >>> >> >> With all the responses I have seen so far: >> >> The conclusion is that nobody plans to implement any part of the Media >> Capture and Streams API in workers, and we'll mark all our APIs (where >> appropriate) with [Exposed=Window]. >> >> I'll leave this open until Wednesday afternoon, and if the conclusion >> still stands, will take that as a consensus position and relay it to the >> editors for implementation. >> >> Harald >> >> > > The conclusion has remained standing. > >
Received on Saturday, 16 May 2015 08:17:04 UTC