W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2018

Re: WebRTC in workers

From: Randell Jesup <randell-ietf@jesup.org>
Date: Tue, 26 Jun 2018 20:00:26 -0400
To: public-webrtc@w3.org
Message-ID: <1491b9d0-755d-fce2-2ded-4ed1f100cb87@jesup.org>
On 6/26/2018 7:28 PM, Feross Aboukhadijeh wrote:
> Seconding what Youenn said. Transferring a data channel to a worker 
> while the PeerConnection remains in the main thread would prevent many 
> use cases. It's best if the PeerConnection can be initiated directly 
> in the worker so it can be shared among many open tabs, or initiated 
> entirely from within a service worker in response to a push 
> notification or 'fetch' event.

Clearly being able to run PeerConnections from Workers (or 
ServiceWorkers) would be more useful, even if it was only for 
DataChannels (not media).  There are some security/privacy/abuse issues 
to be thought about related to that, but it's worth investigation.  (And 
being able to do media would be even better, though again it adds to the 
complexity required in the browser, and to some of the privacy and 
user-interaction/notification issues.)

Randell Jesup -- rjesup a t mozilla d o t com
Please please please don't email randell-ietf@jesup.org!  Way too much spam
Received on Wednesday, 27 June 2018 00:03:52 UTC

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