Re: WebRTC in workers

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