coturn
trystero
Our great sponsors
coturn | trystero | |
---|---|---|
25 | 25 | |
10,449 | 874 | |
1.9% | - | |
8.6 | 9.3 | |
9 days ago | 15 days ago | |
C | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
coturn
-
Golang WebRTC. How to use Pion 🌐Remote Controller
Both TURN and STUN can be self hosted, the most popular project i have found is coturn
-
How to setup and configure TURN server using coTURN?
# TURN server name and realm realm=DOMAIN server-name=turnserver # Use fingerprint in TURN message fingerprint # IPs the TURN server listens to listening-ip=0.0.0.0 # External IP-Address of the TURN server external-ip=IP_ADDRESS # Main listening port listening-port=3478 # Further ports that are open for communication min-port=10000 max-port=20000 # Log file path log-file=/var/log/turnserver.log # Enable verbose logging verbose # Specify the user for the TURN authentification user=turnuser:turn456 # Enable long-term credential mechanism lt-cred-mech # If running coturn version older than 4.5.2, uncomment these rules and ensure # that you have listening-ip set to ipv4 addresses only. # Prevent Loopback bypass https://github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p #denied-peer-ip=0.0.0.0-0.255.255.255 #denied-peer-ip=127.0.0.0-127.255.255.255 #denied-peer-ip=::1
-
How to deploy TURN server(coturn) inside Kubernetes
I am trying to deploy coturn server in the Kubernetes cluster.
-
SIM card at home
That is an excellent use case for a webrtc server rather than an usual voice communication. If you decide to go that way, you don't need any sim card. You just need an internet access. You install a webrtc client (the usual one is coturn). I don't know if you also need to set up some kind of chat server in addition.
-
Nextcloud-AIO Backup error
I've found this issue for you: https://github.com/coturn/coturn/issues/492
-
Matrix 2.0: How we’re making Matrix go voom
If you host yourself on a VPS you can hook in coturn (it's enabled by the linked playbook by default):
https://github.com/spantaleev/matrix-docker-ansible-deploy/b...
https://github.com/coturn/coturn
-
WebRTC for p2p voice calling app?
You're welcome! If this is for mission-critical or commercial use, you will want to invest in a good TURN server to ensure a reliable connection between peers. You can either self-host your own Coturn server or pay for a service like Twilio. But if this is just a hobby project, you can just use the free Open Relay Project.
-
[coTurn] Add TURN users into a database
schema.sql - coturn - GitHub
-
[Xubuntu22.04] Try coTurn for WebRTC 1
I tried http://turnserver.open-sys.org/ and cloning the GitHub repository, but I got the same results.
-
NetBird - Open Source P2P overlay network with WireGuard, WebRTC, SSO, blackjack, and Zero Trust
NetBird and Netmaker are similar in their capabilities and mesh offering, the same goes for Tailscale, but if we compare technical implementations, Netbird relies on the ICE and STUN protocols to discover the best path for p2p connectivity between peers. These are open WebRTC protocols with battle-tested software around them. Similarly, we use TURN for securely relaying traffic, when a p2p connection isn't possible (hard NAT). This protocol also comes from the WebRTC world and has stable and popular implementations like Coturn.
trystero
- Trystero – Build instant multiplayer webapps, no server required
-
Holepunch Unveils P2P Platform "Pear Runtime"
This looks exciting and I'm pleased to see more and more frictionless ways of making p2p apps. I've been building a somewhat similar hobby project [1] that aims to connect peers in the browser by piggybacking on open protocols out on the net (BitTorrent, MQTT, Nostr, IPFS, etc).
This project seems to be using Hyperswarm which I've looked at for use as a peering medium but it seems like it's not supported in the browser. I'd love to implement it if that story changes since it's so easy to distribute apps on the web.
[1] https://github.com/dmotz/trystero/
-
Is offline-first not enough? Do we need "serverfree"?
I was going to mention WebRTC! It seems designed for video calling, but there are lots of cool use cases - I recently ran across https://github.com/dmotz/trystero , a dead simple WebRTC library for peer-to-peer multiplayer browser games.
- Trystero: Serverless WebRTC matchmaking for painless P2P
-
Ready Player Two – What the Multiplayer Web Can Learn from Video Games
I strongly endorse Trystero (https://github.com/dmotz/trystero) for enabling P2P communication in web apps. It’s open source and leverages public infrastructure for matchmaking.
-
Ask HN: Show me your half baked project
My attempt to get more out of all my ebook highlights using on-device AI. Click the demo button to try it.
https://github.com/dmotz/trystero
-
Artico: WebRTC made simple
Nice work! Any reason one might use this over https://github.com/dmotz/trystero, you think?
-
UnCloud project: WebRTC chat, file transfer, and remote observation
Yes, this is a major issue that I haven't found a real solution for. There seems to be a mixture of iOS Safari bugs and intentional design limitations at play, and I don't know if a fully P2P web app like Chitchatter is practical on that platform. There's an open issue to improve this in Trystero (the networking library that Chitchatter uses), but there may be a limit to how stable iOS will be with WebRTC apps. 😕
-
WebRTC for p2p voice calling app?
You can use Trystero (https://github.com/dmotz/trystero) to cut server costs to zero. That’s what I used to build https://chitchatter.im/, which supports P2P audio and video calls.
-
WebTorrent
WebTorrent is obviously well suited for p2p file distribution, but using a minimal subset of the protocol also provides a nice hack for easily bootstrapping peer connections between web app users. Piggybacking on public mediums already designed to do peer exchange can let you rapidly prototype a WebRTC project without the hassle of running your own server anywhere.
I built a library that explores this idea: https://github.com/dmotz/trystero
What are some alternatives?
peerjs - Simple peer-to-peer with WebRTC.
ipfs-webui - A frontend for an IPFS Kubo node.
stunner - A Kubernetes media gateway for WebRTC. Contact: [email protected]
videosdk-rtc-react-sdk-example - WebRTC based video conferencing SDK for React JS
ice - A Go implementation of ICE
foxql - WebRTC based, simple proof-of-work p2p ecosystem
awesome-compose - Awesome Docker Compose samples
chitchatter - Secure peer-to-peer chat that is serverless, decentralized, and ephemeral
netbird - Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
webtorrent - ⚡️ Streaming torrent client for the web
Remotely - A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
FileNation - The simplest way to send your files around the world using IPFS. ✏️ 🗃