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

Re: RTC in Web workers

From: Justin Uberti <juberti@google.com>
Date: Mon, 25 Nov 2013 16:21:33 -0800
Message-ID: <CAOJ7v-0j1Y2SDZ8T-U4C4ANavZMrADY6+WjXw7z-L+YWN0cXrQ@mail.gmail.com>
To: "piranna@gmail.com" <piranna@gmail.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, public-webrtc <public-webrtc@w3.org>
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 <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
>
>
Received on Tuesday, 26 November 2013 00:22:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:36 UTC