Documentation
¶
Index ¶
- Variables
- func CodecDataToTag(stream av.CodecData) (_tag flvio.Tag, ok bool, err error)
- func Handler(h *avutil.RegisterHandler)
- func NewMetadataByStreams(streams []av.CodecData) (metadata flvio.AMFMap, err error)
- func PacketToTag(pkt av.Packet, stream av.CodecData) (tag flvio.Tag, timestamp int32)
- type Demuxer
- type Muxer
- type Prober
- func (self *Prober) CacheTag(_tag flvio.Tag, timestamp int32)
- func (self *Prober) Empty() bool
- func (self *Prober) PopPacket() av.Packet
- func (self *Prober) Probed() (ok bool)
- func (self *Prober) PushTag(tag flvio.Tag, timestamp int32) (err error)
- func (self *Prober) TagToPacket(tag flvio.Tag, timestamp int32) (pkt av.Packet, ok bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var CodecTypes = []av.CodecType{av.H264, av.H265, av.AV1, av.VP9, av.AAC, av.SPEEX, av.PCM_ALAW, av.PCM_MULAW}
View Source
var MaxProbePacketCount = 20
Functions ¶
func Handler ¶
func Handler(h *avutil.RegisterHandler)
func NewMetadataByStreams ¶
Types ¶
type Demuxer ¶
type Demuxer struct {
// contains filtered or unexported fields
}
type Muxer ¶
type Muxer struct {
// contains filtered or unexported fields
}
Source Files
¶
- flv.go
- flv_mux_demux.go
Click to show internal directories.
Click to hide internal directories.