Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Demuxer ¶
type Demuxer interface {
ReadHeader(*HeaderCompo) error
ReadTag(*TagCompo) error
Close() error
}
func NewDemuxer ¶
func NewDemuxer(r io.ReadCloser) (Demuxer, error)
type Header ¶
type HeaderCompo ¶
func GetHeaderCompo ¶
func GetHeaderCompo() *HeaderCompo
func (*HeaderCompo) Put ¶
func (this *HeaderCompo) Put()
type Muxer ¶
type Muxer interface {
WriteHeader(*HeaderCompo) (err error)
WriteTag(*TagCompo) (err error)
Close() error
}
type TagCompo ¶
type TagCompo struct {
TagHeaderRaw [11]byte
TagBodyRaw []byte
TagHeader
// // equal to TagBodyRaw [0 : len-4]
// TagData []byte
PreviousTagSize uint32
}
func (*TagCompo) ContainAVCSeqHeader ¶
Click to show internal directories.
Click to hide internal directories.