cmd

package
v0.0.0-...-b3f7bda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Run

func Run()

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL