mpegts

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package mpegts contains MPEG-ts utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromStream added in v1.4.0

func FromStream(
	strea *stream.Stream,
	reader stream.Reader,
	bw *bufio.Writer,
	sconn srt.Conn,
	writeTimeout time.Duration,
) error

FromStream maps a MediaMTX stream to a MPEG-TS writer.

func ToStream

func ToStream(
	r *mpegts.Reader,
	stream **stream.Stream,
	l logger.Writer,
) ([]*description.Media, error)

ToStream maps a MPEG-TS stream to a MediaMTX stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

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