Skip to content

v2.0.0

Compare
Choose a tag to compare
@Sean-Der Sean-Der released this 10 Jan 22:08
· 232 commits to master since this release

Announcing Pion TURN v2!

The Pion team is very excited to announce the second major release of the Pion TURN server.
This release contains 126 commits with work done by 15 distinct contributors. Thank you so much
to everyone who has taken their time to build something that makes RTC easier to use.

This release contains the following major features.

DTLS/TCP/TLS Support

Pion TURN now accepts either a net.PacketConn or net.Listener to its ServerConfig, giving us full support for DTLS, TCP and TLS.

Pion TURN can work over any protocol as long as there is a Go implementation that satisfies one of these interfaces.

STUN/TURN Client

We now have a dedicated STUN/TURN client. You can now easily add STUN/TURN support to your existing Go software.

This could also be useful for testing your newly deploy Pion TURN server.

Configuration as Code

Pion TURN has been completely re-designed to more closely follow the configuration as code convention.
Instead of generating configuration files with bash scripts or interacting with a network API, Pion TURN
instead exposes everything as a Go API.

This means you can easily add custom behavior to do things like

  • Add custom STUN attributes
  • Filter inbound/outbound traffic by destination address
  • Populate your servers public IP address via Go instead of a shell script

VNet

pion/turn now comes with a powerful network simulation library. This allows simulating different network topologies
and conditions. This could be useful when learning, or recreating real world bugs in your applications.