tsfrag

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fragmenter

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

func New

func New(streams []av.CodecData) (*Fragmenter, error)

func (*Fragmenter) Duration

func (f *Fragmenter) Duration() time.Duration

func (*Fragmenter) Fragment

func (f *Fragmenter) Fragment() (fragment.Fragment, error)

func (*Fragmenter) Header

func (f *Fragmenter) Header() fragment.Header

Header configures file extensions for this track

func (*Fragmenter) NewSegment

func (f *Fragmenter) NewSegment()

func (*Fragmenter) TimeScale

func (f *Fragmenter) TimeScale() uint32

func (*Fragmenter) WritePacket

func (f *Fragmenter) WritePacket(pkt av.Packet) error

WritePacket formats and queues a packet for the next fragment to be written

Jump to

Keyboard shortcuts

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