mpegts

package
v0.0.0-...-882a99e Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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

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