Open backkem opened 5 years ago
Yes, we've been signaling the need to browser vendors for some time. Others in community been asking for this since 2015 and AFAIK current discussion on w3c lists highlights various use cases, including data channels, which IPFS would love to use in Service Worker.
IIUC we are interested in "1. Enable data channel support in workers":
On IPFS side there is a meta-discussion about transports in browsers at: https://github.com/ipfs/js-ipfs/issues/1088
Would it be possible to use this polyfill? https://github.com/johanholmerin/worker-webrtc Seems to at least support datachannels.
It seems there is a new window of opportunity for making WebRTC work from the service worker, see webtorrent/community#11. Are you guys interested in/tracking/weighing in on this discussion?