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

Re: WebRTC in workers

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sat, 23 Jun 2018 07:47:33 +0200
To: public-webrtc@w3.org
Message-ID: <3a760329-9b29-3505-724b-5384b75578cf@alvestrand.no>
On 06/23/2018 02:20 AM, youenn fablet wrote:
> This does not cover the case of long lasting connections in shared/service workers: closing the peer connection window would close the data channel.
> Note also that transferring a RTCDataChannel between different contexts is already shimable using postMessage.
>
Are you thinking of transferring a shim that uses postMessage to deliver
the objects to be sent back to the context in which the datachannel lives?

That would work, but it seems to me it would have a bit of overhead
(both in delay and in cycles).


-- 
Surveillance is pervasive. Go Dark.
Received on Saturday, 23 June 2018 05:48:01 UTC

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