turn_server

package
v0.0.0-...-52b9afa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	AuthHandler func(userName, realm string, srcAddr net.Addr) (string, bool)
	PublicIP    string
	Port        int
	// contains filtered or unexported fields
}

func NewTurnServer

func NewTurnServer(publicIp, realm string, port int) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) HandlerAuthenticate

func (s *Server) HandlerAuthenticate(userName, realm string, srcAddr net.Addr) ([]byte, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL