Documentation ¶
Index ¶
- func Execute()
- func Run()
- type RtmpOutboundConnHandler
- func (h *RtmpOutboundConnHandler) OnClosed(conn rtmp.Conn)
- func (h *RtmpOutboundConnHandler) OnReceived(conn rtmp.Conn, message *rtmp.Message)
- func (h *RtmpOutboundConnHandler) OnReceivedRtmpCommand(conn rtmp.Conn, command *rtmp.Command)
- func (h *RtmpOutboundConnHandler) OnStatus(conn rtmp.OutboundConn)
- func (h *RtmpOutboundConnHandler) OnStreamCreated(conn rtmp.OutboundConn, stream rtmp.OutboundStream)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RtmpOutboundConnHandler ¶
type RtmpOutboundConnHandler struct { StreamChan chan rtmp.OutboundStream VideoDataSize int64 AudioDataSize int64 Status uint }
func NewRtmpOutboundConnHandler ¶
func NewRtmpOutboundConnHandler() *RtmpOutboundConnHandler
func (*RtmpOutboundConnHandler) OnClosed ¶
func (h *RtmpOutboundConnHandler) OnClosed(conn rtmp.Conn)
func (*RtmpOutboundConnHandler) OnReceived ¶
func (h *RtmpOutboundConnHandler) OnReceived(conn rtmp.Conn, message *rtmp.Message)
func (*RtmpOutboundConnHandler) OnReceivedRtmpCommand ¶
func (h *RtmpOutboundConnHandler) OnReceivedRtmpCommand(conn rtmp.Conn, command *rtmp.Command)
func (*RtmpOutboundConnHandler) OnStatus ¶
func (h *RtmpOutboundConnHandler) OnStatus(conn rtmp.OutboundConn)
func (*RtmpOutboundConnHandler) OnStreamCreated ¶
func (h *RtmpOutboundConnHandler) OnStreamCreated(conn rtmp.OutboundConn, stream rtmp.OutboundStream)
Click to show internal directories.
Click to hide internal directories.