HN.zip

Peer-to-peer WebRTC connections with built-in signaling and discovery

26 points by - 7 comments
[3 hidden]5 mins ago
I just found cloudflare conveniently has some free tier TURN and STUN server allowance.
[3 hidden]5 mins ago
Do I understand correctly that this is normal webRTC with a custom signaling server using private/public key cryptography, and STUN and TURN servers I can use?
[3 hidden]5 mins ago
Great work! Does this offer something beyond what https://trystero.dev/ provides?
[3 hidden]5 mins ago
Works across browsers, Node.js, and React Native.

- P2P servers. Listen for peer connections anywhere, even in the browser.

- Direct connections. Connect to peers across devices and networks.

- Built-in signaling. Automatic SDP/ICE exchange and negotiation.

- Identities. Shareable cryptographic addresses instead of IP addresses.

- Peer discovery. Announce and find peers using shared topics.

- WebRTC API. Use data channels, audio/video tracks and transceivers.

- Ready to use. Signaling, STUN and TURN configured by default.

[3 hidden]5 mins ago
Single signaling server:

    wss://party.leet.ar:41337
What happens to anybody who builds on this when you turn off your server in a few months time?
[3 hidden]5 mins ago
This is the example. When building out yours, you can configure your ports

https://github.com/LuKks/like-webrtc/blob/a1a2ac0a90eae7319e...

[3 hidden]5 mins ago
At first glance, it seems extremely similar to PeerJS.