Versions in this module Expand all Collapse all v0 v0.0.1 Jan 3, 2021 Changes in this version + const FlvTimestampMax + var CodecTypes = flv.CodecTypes + var Debug bool + func Handler(h *avutil.RegisterHandler) + func ParseURL(uri string) (u *url.URL, err error) + func SplitPath(u *url.URL) (app, stream string) + type Conn struct + OnPlayOrPublish func(string, flvio.AMFMap) error + URL *url.URL + func Dial(uri string) (conn *Conn, err error) + func DialTimeout(uri string, timeout time.Duration) (conn *Conn, err error) + func NewConn(netconn net.Conn) *Conn + func (self *Conn) Close() (err error) + func (self *Conn) NetConn() net.Conn + func (self *Conn) Prepare() (err error) + func (self *Conn) ReadPacket() (pkt av.Packet, err error) + func (self *Conn) RxBytes() uint64 + func (self *Conn) Streams() (streams []av.CodecData, err error) + func (self *Conn) TxBytes() uint64 + func (self *Conn) WriteHeader(streams []av.CodecData) (err error) + func (self *Conn) WritePacket(pkt av.Packet) (err error) + func (self *Conn) WriteTrailer() (err error) + type Server struct + Addr string + HandleConn func(*Conn) + HandlePlay func(*Conn) + HandlePublish func(*Conn) + func (self *Server) ListenAndServe() (err error)