Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TurnServer ¶
type TurnServer struct { Config TurnServerConfig AuthHandler func(username string, realm string, srcAddr net.Addr) (string, bool) // contains filtered or unexported fields }
func NewTurnServer ¶
func NewTurnServer(config TurnServerConfig) *TurnServer
func (*TurnServer) Close ¶
func (s *TurnServer) Close() error
func (*TurnServer) HandleAuthenticate ¶
type TurnServerConfig ¶
func DefaultConfig ¶
func DefaultConfig() TurnServerConfig
Click to show internal directories.
Click to hide internal directories.