ts

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CodecTypes = []av.CodecType{av.H264, av.AAC}

CodecTypes var

Functions

func Handler

func Handler(h *avutil.RegisterHandler)

Handler func

Types

type Demuxer

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

Demuxer type

func NewDemuxer

func NewDemuxer(r io.Reader) *Demuxer

NewDemuxer func

func (*Demuxer) ReadPacket

func (demuxer *Demuxer) ReadPacket() (pkt av.Packet, err error)

ReadPacket func

func (*Demuxer) Streams

func (demuxer *Demuxer) Streams() (streams []av.CodecData, err error)

Streams func

type Muxer

type Muxer struct {
	PaddingToMakeCounterCont bool
	// contains filtered or unexported fields
}

Muxer struct

func NewMuxer

func NewMuxer(w io.Writer) *Muxer

NewMuxer func

func (*Muxer) SetWriter

func (inst *Muxer) SetWriter(w io.Writer)

SetWriter func

func (*Muxer) WriteHeader

func (inst *Muxer) WriteHeader(streams []av.CodecData) (err error)

WriteHeader func

func (*Muxer) WritePATPMT

func (inst *Muxer) WritePATPMT() (err error)

WritePATPMT func

func (*Muxer) WritePacket

func (inst *Muxer) WritePacket(pkt av.Packet) (err error)

WritePacket func

func (*Muxer) WriteTrailer

func (inst *Muxer) WriteTrailer() (err error)

WriteTrailer func

type Stream

type Stream struct {
	av.CodecData
	// contains filtered or unexported fields
}

Stream struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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