News for hackers. Stuff that matters.
Re:Serverless, peer-to-peer, local file sharing through sound by Sean-Der on Friday September 25, 2020 @01:53AM (#24586953)
In the README it mentions that mDNS candidates break things[0]. This should still work if you are in the same LAN though, the mDNS name just needs to be encoded properly? Maybe the author was trying to connect across networks that don't support Multicast?

However mDNS candidates made this even easier! I stumbled upon this pattern and been trying to convince people that real use cases will be unlocked.

* https://github.com/pion/offline-browser-communication

* https://sean-der.github.io/webrtc-uri/draft-seaduboi-webrtc-...

[0] https://tools.ietf.org/html/draft-mdns-ice-candidates-00

Re:Serverless, peer-to-peer, local file sharing through sound by ggerganov on Friday September 25, 2020 @02:08AM (#24587021)
Just to clarify - the original intent was to use this only between devices in the same LAN, because this way you don't need a server. Having a server, there are much better ways to transfer files.
Re:Serverless, peer-to-peer, local file sharing through sound by Sean-Der on Friday September 25, 2020 @02:52AM (#24587217)
Really great work on this!

I am a big fan of WebRTC. Even if I had a server I would try to use SCTP over DTLS. I have gotten better transfer rates. Not having to worry about HOL blocking and the overhead of TCP.