stun VS turn

Compare stun vs turn and see what are their differences.

stun

Fast RFC 5389 STUN implementation in go (by gortc)

turn

Pion TURN, an API for building TURN clients and servers (by pion)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
stun turn
- 3
464 1,699
- 3.4%
3.8 7.5
almost 3 years ago 2 days ago
Go Go
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

stun

Posts with mentions or reviews of stun. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning stun yet.
Tracking mentions began in Dec 2020.

turn

Posts with mentions or reviews of turn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-16.
  • Using WebTransport
    6 projects | news.ycombinator.com | 16 Sep 2022
    > dedicated signalling

    For my small projects I run my HTTP + WebRTC in the same server. My signaling is one POST. Maybe I am missing the complexity, but I don't feel any additional pain compared to running any network service?

    > STUN Karate

    Mind explaining more? I use https://github.com/pion/turn and run my STUN server embedded in my HTTP server. I do do anything but point my `PeerConnection` at `my-service.com`

  • Show HN: Weron – A Peer-to-Peer VPN Based on WebRTC Written in Go
    14 projects | news.ycombinator.com | 7 May 2022
    There is a very neat implementation of a TURN from Pion

    https://github.com/pion/turn

  • How do I deploy a TURN server for WebRTC apps on heroku?
    2 projects | /r/Heroku | 23 Sep 2021
    I've tried node-turn in a node.js server, tried to execute pion/turn binaries directly so far but with no luck. `node-turn` works if I run locally and test it with my public ip address but the same doesn't work on heroku.

What are some alternatives?

When comparing stun and turn you can also consider the following projects:

quic-go - A QUIC implementation in pure Go

livekit-server - Scalable, high-performance WebRTC SFU. SDKs in JavaScript, React, React Native, Flutter, Swift, Kotlin, Unity/C#, Go, Ruby and Node. [Moved to: https://github.com/livekit/livekit]

ssh - Easy SSH servers in Golang

Pion WebRTC - Pure Go implementation of the WebRTC API

NFF-Go - NFF-Go -Network Function Framework for GO (former YANFF)

go-stun - A go implementation of the STUN client (RFC 3489 and RFC 5389)

dns - DNS library in Go

node-turn - Node-turn is a STUN/TURN server for Node.JS

utp - Use anacrolix/go-libutp instead

weron - Overlay networks based on WebRTC.

gopacket - Provides packet processing capabilities for Go

netbird - Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.