Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientManager ¶
type ClientManager struct {
// contains filtered or unexported fields
}
ClientManager is a client manager.
func New ¶
func New( rtspPort int, readTimeout time.Duration, writeTimeout time.Duration, readBufferCount int, runOnConnect string, runOnConnectRestart bool, protocols map[base.StreamProtocol]struct{}, stats *stats.Stats, pathMan PathManager, serverPlain *serverrtsp.Server, serverTLS *serverrtsp.Server, serverRTMP *serverrtmp.Server, parent Parent) *ClientManager
New allocates a ClientManager.
func (*ClientManager) Log ¶
func (cm *ClientManager) Log(level logger.Level, format string, args ...interface{})
Log is the main logging function.
func (*ClientManager) OnClientClose ¶
func (cm *ClientManager) OnClientClose(c client.Client)
OnClientClose is called by a client.
type PathManager ¶ added in v0.14.0
type PathManager interface { ClientClose() chan client.Client OnClientDescribe(client.DescribeReq) OnClientAnnounce(client.AnnounceReq) OnClientSetupPlay(client.SetupPlayReq) }
PathManager is implemented by pathman.PathManager.
Click to show internal directories.
Click to hide internal directories.