Hacker News new | ask | show | jobs
by waynenilsen 2192 days ago
> you'll need some other channel to exchange the peers connection data

Perhaps using IPFS to pin the data temporarily and share that hash between the peers?

3 comments

That's a good idea. I don't know the internals of IPFS, but the related https://libp2p.io/ looks promising. Follow up https://github.com/holtwick/briefing/issues/52
I did a POC of this over a year ago [0]. Now, with better libp2p-js library, it is surely much easier/better nowadays.

0 - https://github.com/cretz/webrtc-ipfs-signaling

If you can figure out how to share that hash, you may as well just share the offer.
Yes, serialization is the issue. URL length is technically unlimited but in practice very long urls don't work out so well