pion / turn

Pion TURN, an API for building TURN clients and servers
MIT License
1.86k stars 317 forks source link

Is this both STUN and TURN? #24

Closed kevzettler closed 5 years ago

kevzettler commented 6 years ago

The RFC section of the README: https://github.com/pions/turn#implemented

says that:

RFC 5389: Session Traversal Utilities for NAT (STUN)

Does this imply this can be used as a STUN server as well?

Not saying any other mention of STUN usage in the docs.

rockwotj commented 5 years ago

All TURN servers support STUN. See: https://www.html5rocks.com/en/tutorials/webrtc/infrastructure/

Every TURN server supports STUN: a TURN server is a STUN server with added relaying functionality built in. ICE also copes with the complexities of NAT setups: in reality, NAT 'hole punching' may require more than just a public IP:port address.

kevzettler commented 5 years ago

thanks