W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2013

Re: RTC in Web workers

From: Rob Manson <robman@mob-labs.com>
Date: Tue, 26 Nov 2013 11:36:27 +1100
Message-ID: <5293ED0B.5080106@mob-labs.com>
To: public-webrtc@w3.org
As far as I can see the primary use for MediaStreamTracks in WebWorkers 
is post-processing.  And there are a range of other options that would 
definitely be worth discussing here that would significantly improve 


- access to video frame textures inside shaders without them being 
painted (VideoShader - small change)
- options to access video frames without them being painted to 
canvas/video elements (WebVideo - new API)

I raised these recently at the FOMS workshop.


On 26/11/13 11:21 AM, Justin Uberti wrote:
> We are investigating use of MediaStreamTrack as an argument to 
> postMessage. Not sure how easily that will generalize to other objects.
> On Mon, Nov 25, 2013 at 5:41 AM, piranna@gmail.com 
> <mailto:piranna@gmail.com> <piranna@gmail.com 
> <mailto:piranna@gmail.com>> wrote:
>     > Since getUserMedia is only available on navigator, which is not
>     available to
>     > WebWorkers, this depends on having the ability to send
>     MediaStreams and/or
>     > MediaStreamTracks to WebWorkers (I think Stefan had a proposal
>     for doing
>     > that earlier).
>     >
>     Obviously, getUserMedia() can't (and never should) have direct access
>     from WebWorkers, but passing a MediaStream object between main thread
>     and WebWorkers using postMessage() would be feasable.
>     > Are there other dependencies that have to be resolved?
>     >
>     PeerConnection object alone with MediaStreams and DataChannels (no
>     other things like getUserMedia() and so) would be enough, I believe.
>     --
>     "Si quieres viajar alrededor del mundo y ser invitado a hablar en un
>     monton de sitios diferentes, simplemente escribe un sistema operativo
>     Unix."
>     – Linus Tordvals, creador del sistema operativo Linux


Checkout my new book - Getting started with WebRTC

CEO & co-founder

Chair of the W3C Augmented Web Community Group

Invited Expert with the ISO, Khronos Group & W3C
Received on Tuesday, 26 November 2013 00:36:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:52 UTC