Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorStreamExitNoVideoOnStream = errors.New("Stream Exit No Video On Stream") ErrorStreamExitRtspDisconnect = errors.New("Stream Exit Rtsp Disconnect") ErrorStreamExitNoViewer = errors.New("Stream Exit On Demand No Viewer") )
View Source
var Config = loadConfig()
Config global
Functions ¶
func HttpServer ¶
func HttpServer()
func RTSPWorker ¶
func RTSPWorkerLoop ¶
func StreamServer ¶
func StreamServer()
Types ¶
type ConfigST ¶
type ConfigST struct { Mutex sync.RWMutex Server ServerST `json:"server"` Streams map[string]StreamST `json:"streams"` }
ConfigST struct
func (*ConfigST) RunIFNotRun ¶
Click to show internal directories.
Click to hide internal directories.