Earlier quoted context omitted.
Although it uses Tor and is probably outdated, here is a PoC I wrote of bootstrapping a DHT network on the server side and using the client side to discover peers: https://github.com/cretz/tor-dht-poc
I saw you use IPFS in there, are you sure it did not use one of their signalling servers to find the peers?
Show HN: WebRTC signalling data using QR codes
51–55 of 55 posts
Re: Show HN: WebRTC signalling data using QR codes
#52Earlier quoted context omitted.
> In regards to using a DHT, that's something I have not researched. I am not sure how long an offer is valid, were you thinking of being able to update them as needed whenever you want to establish a connection? Yes. I have toyed with js-libp2p to obtain "providers" based on a key, but I believe the part of js-libp2p that allows you to participate in the DHT isn't quite done [0]. I imagine you'd make a CID that woul…
I created swarm-peer-server [1] as a way to connect to specific peers over a DHT using a public key known ahead of time. I use this in a networked app I've built to perform WebRTC signaling between peers [2]. The networking and crypto works using modules popular in the Dat Project community. The challenge is that multiple peers could announce under the same hash on the DHT. Thus I have code to perform a handshake to…
Re: Show HN: WebRTC signalling data using QR codes
#53Re: Show HN: WebRTC signalling data using QR codes
#54I am the author of the Android, iOS and web based Webrtc application and developed our own media and signaling servers (C++) and customized XMPP for chat. Currently it is in private beta but I'll let you know soon.