Documentation ¶
Overview ¶
Package api contains the API server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Address string ReadTimeout conf.StringDuration Conf *conf.Conf PathManager PathManager RTSPServer RTSPServer RTSPSServer RTSPServer RTMPServer RTMPServer RTMPSServer RTMPServer HLSServer HLSServer WebRTCServer WebRTCServer SRTServer SRTServer Parent apiParent // contains filtered or unexported fields }
API is an API server.
type HLSServer ¶
type HLSServer interface { APIMuxersList() (*defs.APIHLSMuxerList, error) APIMuxersGet(string) (*defs.APIHLSMuxer, error) }
HLSServer contains methods used by the API and Metrics server.
type PathManager ¶
type PathManager interface { APIPathsList() (*defs.APIPathList, error) APIPathsGet(string) (*defs.APIPath, error) }
PathManager contains methods used by the API and Metrics server.
type RTMPServer ¶
type RTMPServer interface { APIConnsList() (*defs.APIRTMPConnList, error) APIConnsGet(uuid.UUID) (*defs.APIRTMPConn, error) APIConnsKick(uuid.UUID) error }
RTMPServer contains methods used by the API and Metrics server.
type RTSPServer ¶
type RTSPServer interface { APIConnsList() (*defs.APIRTSPConnsList, error) APIConnsGet(uuid.UUID) (*defs.APIRTSPConn, error) APISessionsList() (*defs.APIRTSPSessionList, error) APISessionsGet(uuid.UUID) (*defs.APIRTSPSession, error) APISessionsKick(uuid.UUID) error }
RTSPServer contains methods used by the API and Metrics server.
type SRTServer ¶
type SRTServer interface { APIConnsList() (*defs.APISRTConnList, error) APIConnsGet(uuid.UUID) (*defs.APISRTConn, error) APIConnsKick(uuid.UUID) error }
SRTServer contains methods used by the API and Metrics server.
type WebRTCServer ¶
type WebRTCServer interface { APISessionsList() (*defs.APIWebRTCSessionList, error) APISessionsGet(uuid.UUID) (*defs.APIWebRTCSession, error) APISessionsKick(uuid.UUID) error }
WebRTCServer contains methods used by the API and Metrics server.
Click to show internal directories.
Click to hide internal directories.