status-go/vendor/github.com/pion/turn/v2
richΛrd 9e0fb30f8d
chore_: bump go-waku (#5150)
2024-05-15 19:15:00 -04:00
..
internal chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.gitignore chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.golangci.yml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
.goreleaser.yml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
AUTHORS.txt chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
DESIGN.md Add torrent library dependency 2022-04-06 11:48:16 +02:00
FAQ.md chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
LICENSE.md Add torrent library dependency 2022-04-06 11:48:16 +02:00
README.md chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
client.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
codecov.yml Add torrent library dependency 2022-04-06 11:48:16 +02:00
errors.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
lt_cred.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
relay_address_generator_none.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
relay_address_generator_range.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
relay_address_generator_static.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
renovate.json chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
server.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
server_config.go chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
stun_conn.go Add torrent library dependency 2022-04-06 11:48:16 +02:00

README.md

Pion TURN
Pion TURN

A toolkit for building TURN clients and servers in Go

Pion TURN Slack Widget
Build Status GoDoc Coverage Status Go Report Card License: MIT


Pion TURN is a Go toolkit for building TURN servers and clients. We wrote it to solve problems we had when building RTC projects.

  • Deployable - Use modern tooling of the Go ecosystem. Stop generating config files.
  • Embeddable - Include pion/turn in your existing applications. No need to manage another service.
  • Extendable - TURN as an API so you can easily integrate with your existing monitoring and metrics.
  • Maintainable - pion/turn is simple and well documented. Designed for learning and easy debugging.
  • Portable - Quickly deploy to multiple architectures/platforms just by setting an environment variable.
  • Safe - Stability and safety is important for network services. Go provides everything we need.
  • Scalable - Create allocations and mutate state at runtime. Designed to make scaling easy.

Using

pion/turn is an API for building STUN/TURN clients and servers, not a binary you deploy then configure. It may require copying our examples and making minor modifications to fit your need, no knowledge of Go is required however. You may be able to download the pre-made binaries of our examples if you wish to get started quickly.

The advantage of this is that you don't need to deal with complicated config files, or custom APIs to modify the state of Pion TURN. After you instantiate an instance of a Pion TURN server or client you interact with it like any library. The quickest way to get started is to look at the examples or GoDoc

Examples

We try to cover most common use cases in examples. If more examples could be helpful please file an issue, we are always looking to expand and improve pion/turn to make it easier for developers.

To build any example you just need to run go build in the directory of the example you care about. It is also very easy to cross compile Go programs.

You can also see pion/turn usage in pion/ice

FAQ

RFCs

Implemented

Planned

Community

Pion has an active community on the Golang Slack. Sign up and join the #pion channel for discussions and support.

We are always looking to support your projects. Please reach out if you have something to build!

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible.

License

MIT License - see LICENSE.md for full text