Documentation ¶
Overview ¶
Package hls contains a HLS server.
Index ¶
- Variables
- type Server
- func (s *Server) APIMuxersGet(name string) (*defs.APIHLSMuxer, error)
- func (s *Server) APIMuxersList() (*defs.APIHLSMuxerList, error)
- func (s *Server) Close()
- func (s *Server) Initialize() error
- func (s *Server) Log(level logger.Level, format string, args ...interface{})
- func (s *Server) PathNotReady(pa defs.Path)
- func (s *Server) PathReady(pa defs.Path)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMuxerNotFound = errors.New("muxer not found")
ErrMuxerNotFound is returned when a muxer is not found.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Address string Encryption bool ServerKey string ServerCert string AllowOrigin string TrustedProxies conf.IPNetworks AlwaysRemux bool Variant conf.HLSVariant SegmentCount int SegmentDuration conf.StringDuration PartDuration conf.StringDuration SegmentMaxSize conf.StringSize Directory string ReadTimeout conf.StringDuration WriteQueueSize int MuxerCloseAfter conf.StringDuration PathManager serverPathManager Parent serverParent // contains filtered or unexported fields }
Server is a HLS server.
func (*Server) APIMuxersGet ¶
func (s *Server) APIMuxersGet(name string) (*defs.APIHLSMuxer, error)
APIMuxersGet is called by api.
func (*Server) APIMuxersList ¶
func (s *Server) APIMuxersList() (*defs.APIHLSMuxerList, error)
APIMuxersList is called by api.
func (*Server) PathNotReady ¶
PathNotReady is called by pathManager.
Directories ¶
Path | Synopsis |
---|---|
Package main contains an utility to download hls.js
|
Package main contains an utility to download hls.js |
Click to show internal directories.
Click to hide internal directories.