mpegts

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 15 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(
	stream *stream.Stream,
	writer *asyncwriter.Writer,
	bw *bufio.Writer,
	sconn srt.Conn,
	writeTimeout time.Duration,
	l logger.Writer,
) 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