Documentation
¶
Index ¶
- Variables
- type Config
- type Group
- func (group *Group) AddHTTPFLVSubSession(session *httpflv.SubSession)
- func (group *Group) AddRTMPPubSession(session *rtmp.ServerSession) bool
- func (group *Group) AddRTMPSubSession(session *rtmp.ServerSession)
- func (group *Group) DelHTTPFLVSubSession(session *httpflv.SubSession)
- func (group *Group) DelRTMPPubSession(session *rtmp.ServerSession)
- func (group *Group) DelRTMPSubSession(session *rtmp.ServerSession)
- func (group *Group) Dispose()
- func (group *Group) IsInExist() bool
- func (group *Group) IsTotalEmpty() bool
- func (group *Group) OnReadRTMPAVMsg(msg rtmp.AVMsg)
- func (group *Group) RunLoop()
- type HTTPFLV
- type PProf
- type RTMP
- type ServerManager
- func (sm *ServerManager) DelHTTPFLVSubSessionCB(session *httpflv.SubSession)
- func (sm *ServerManager) DelRTMPPubSessionCB(session *rtmp.ServerSession)
- func (sm *ServerManager) DelRTMPSubSessionCB(session *rtmp.ServerSession)
- func (sm *ServerManager) Dispose()
- func (sm *ServerManager) NewHTTPFLVSubSessionCB(session *httpflv.SubSession) bool
- func (sm *ServerManager) NewRTMPPubSessionCB(session *rtmp.ServerSession) bool
- func (sm *ServerManager) NewRTMPSubSessionCB(session *rtmp.ServerSession) bool
- func (sm *ServerManager) RunLoop()
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLogic = errors.New("lal.logic: fxxk")
View Source
var Trans trans
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Group ¶
type Group struct { UniqueKey string // contains filtered or unexported fields }
func (*Group) AddHTTPFLVSubSession ¶ added in v0.4.0
func (group *Group) AddHTTPFLVSubSession(session *httpflv.SubSession)
func (*Group) AddRTMPPubSession ¶
func (group *Group) AddRTMPPubSession(session *rtmp.ServerSession) bool
func (*Group) AddRTMPSubSession ¶
func (group *Group) AddRTMPSubSession(session *rtmp.ServerSession)
func (*Group) DelHTTPFLVSubSession ¶ added in v0.4.0
func (group *Group) DelHTTPFLVSubSession(session *httpflv.SubSession)
func (*Group) DelRTMPPubSession ¶
func (group *Group) DelRTMPPubSession(session *rtmp.ServerSession)
func (*Group) DelRTMPSubSession ¶
func (group *Group) DelRTMPSubSession(session *rtmp.ServerSession)
func (*Group) IsTotalEmpty ¶
func (*Group) OnReadRTMPAVMsg ¶ added in v0.5.0
PubSession or PullSession
type HTTPFLV ¶ added in v0.4.0
type HTTPFLV struct {
SubListenAddr string `json:"sub_listen_addr"`
}
type ServerManager ¶
type ServerManager struct {
// contains filtered or unexported fields
}
func NewServerManager ¶
func NewServerManager(config *Config) *ServerManager
func (*ServerManager) DelHTTPFLVSubSessionCB ¶ added in v0.4.0
func (sm *ServerManager) DelHTTPFLVSubSessionCB(session *httpflv.SubSession)
ServerObserver of httpflv.Server
func (*ServerManager) DelRTMPPubSessionCB ¶
func (sm *ServerManager) DelRTMPPubSessionCB(session *rtmp.ServerSession)
ServerObserver of rtmp.Server
func (*ServerManager) DelRTMPSubSessionCB ¶
func (sm *ServerManager) DelRTMPSubSessionCB(session *rtmp.ServerSession)
ServerObserver of rtmp.Server
func (*ServerManager) Dispose ¶
func (sm *ServerManager) Dispose()
func (*ServerManager) NewHTTPFLVSubSessionCB ¶ added in v0.4.0
func (sm *ServerManager) NewHTTPFLVSubSessionCB(session *httpflv.SubSession) bool
ServerObserver of httpflv.Server
func (*ServerManager) NewRTMPPubSessionCB ¶
func (sm *ServerManager) NewRTMPPubSessionCB(session *rtmp.ServerSession) bool
ServerObserver of rtmp.Server
func (*ServerManager) NewRTMPSubSessionCB ¶
func (sm *ServerManager) NewRTMPSubSessionCB(session *rtmp.ServerSession) bool
ServerObserver of rtmp.Server
func (*ServerManager) RunLoop ¶
func (sm *ServerManager) RunLoop()
Click to show internal directories.
Click to hide internal directories.