Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config controls the STUN server. ListenAddr is the local UDP address to bind, e.g. ":3478". PublicAddr is the host:port that clients should use to reach this server (IP or DNS name plus port). It is used for generating ICE server URLs.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a minimal STUN server implemented using pion/turn's server core. It responds to STUN Binding requests on the configured UDP address. Note: This server does not provide TURN relaying; see the turn package for that.
Click to show internal directories.
Click to hide internal directories.