21 points | by LuKks 3 days ago ago
6 comments
I just found cloudflare conveniently has some free tier TURN and STUN server allowance.
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?
Great work! Does this offer something beyond what https://trystero.dev/ provides?
At first glance, it seems extremely similar to PeerJS.
Single signaling server:
wss://party.leet.ar:41337
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.
I just found cloudflare conveniently has some free tier TURN and STUN server allowance.
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?
Great work! Does this offer something beyond what https://trystero.dev/ provides?
At first glance, it seems extremely similar to PeerJS.
Single signaling server:
What happens to anybody who builds on this when you turn off your server in a few months time?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.