Documentation
¶
Overview ¶
Package moq contains a Media over QUIC server.
Index ¶
- Variables
- type Server
- func (s *Server) APISessionsGet(id uuid.UUID) (*defs.APIMoQSession, error)
- func (s *Server) APISessionsKick(id uuid.UUID) error
- func (s *Server) APISessionsList() (*defs.APIMoQSessionList, error)
- func (s *Server) Close()
- func (s *Server) Initialize() error
- func (s *Server) Log(level logger.Level, format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSessionNotFound = errors.New("session not found")
ErrSessionNotFound is returned when a session is not found.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
HTTP2Address string
HTTP3Address string
QUICAddress string
ServerKey string
ServerCert string
AllowOrigins []string
UDPReadBufferSize uint
TrustedProxies conf.IPNetworks
ReadTimeout conf.Duration
WriteTimeout conf.Duration
PathManager serverPathManager
Metrics serverMetrics
Parent serverParent
// contains filtered or unexported fields
}
Server is a Media over QUIC server.
func (*Server) APISessionsGet ¶
APISessionsGet implements defs.APIMoQServer.
func (*Server) APISessionsKick ¶
APISessionsKick implements defs.APIMoQServer.
func (*Server) APISessionsList ¶
func (s *Server) APISessionsList() (*defs.APIMoQSessionList, error)
APISessionsList implements defs.APIMoQServer.
Click to show internal directories.
Click to hide internal directories.