flv

package
v0.0.0-...-40768b1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAvcEndSEQ = fmt.Errorf("avc end sequence")
)

Functions

This section is empty.

Types

type Demuxer

type Demuxer struct {
}

func NewDemuxer

func NewDemuxer() *Demuxer

func (*Demuxer) Demux

func (d *Demuxer) Demux(p *av.Packet) error

func (*Demuxer) DemuxH

func (d *Demuxer) DemuxH(p *av.Packet) error

type Tag

type Tag struct {
	// contains filtered or unexported fields
}

func (*Tag) AACPacketType

func (tag *Tag) AACPacketType() uint8

func (*Tag) CodecID

func (tag *Tag) CodecID() uint8

func (*Tag) CompositionTime

func (tag *Tag) CompositionTime() int32

func (*Tag) IsKeyFrame

func (tag *Tag) IsKeyFrame() bool

func (*Tag) IsSeq

func (tag *Tag) IsSeq() bool

func (*Tag) ParseMediaTagHeader

func (tag *Tag) ParseMediaTagHeader(b []byte, isVideo bool) (n int, err error)

ParseMediaTagHeader, parse video, audio, tag header

func (*Tag) SoundFormat

func (tag *Tag) SoundFormat() uint8

Jump to

Keyboard shortcuts

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