Documentation ¶
Index ¶
- Constants
- Variables
- func Handler(h *avutil.RegisterHandler)
- func ParseURL(uri string) (u *url.URL, err error)
- func SplitPath(u *url.URL) (app, stream string)
- type 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
Constants ¶
View Source
const FlvTimestampMax = 0xFFFFFF
Variables ¶
View Source
var ( Debug bool MaxChunkSize = 128 * 1024 * 1024 )
View Source
var CodecTypes = flv.CodecTypes
Functions ¶
func Handler ¶
func Handler(h *avutil.RegisterHandler)
Types ¶
type Conn ¶
type Conn struct { URL *url.URL OnPlayOrPublish func(string, flvio.AMFMap) error Prober *flv.Prober // contains filtered or unexported fields }
func (*Conn) WriteTrailer ¶
Click to show internal directories.
Click to hide internal directories.