mpegts

package
v0.16.12 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRC

func CRC(data []byte) uint32

Types

type Event

type Event struct {
	Kind           string
	PID            uint16
	Scope          string   `json:",omitempty"`
	Fields         any      `json:",omitempty"`
	Qualifications []string `json:",omitempty"`
	Sources        []Source `json:",omitempty"`
}

type Processor

type Processor struct {
	Reserve func(int) bool
	Release func(int)
	// contains filtered or unexported fields
}

func (*Processor) Expire

func (p *Processor) Expire(ordinal uint64)

func (*Processor) Incomplete

func (p *Processor) Incomplete() []Event

func (*Processor) Push

func (p *Processor) Push(scope string, wire []byte, source Source) ([]Event, error)

func (*Processor) Reset

func (p *Processor) Reset()

type Program

type Program struct{ Number, PMTPID uint16 }

type SPS

type SPS struct{ Profile, Level, Width, Height uint32 }

type Source

type Source struct {
	Ordinal        uint64
	Offset, Length int
	ChildOrdinal   uint32 `json:",omitempty"`
	Derived        bool   `json:",omitempty"`
}

type Stream

type Stream struct {
	PID             uint16
	Type            byte
	Codec, Language string
}

Jump to

Keyboard shortcuts

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