Documentation
¶
Overview ¶
Package mpegts contains a MPEG-TS reader and writer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Track ¶
Track is a MPEG-TS track.
func FindTracks ¶
FindTracks finds the tracks in a MPEG-TS stream.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a MPEG-TS writer.
func NewWriter ¶
func NewWriter( videoTrack *gortsplib.TrackH264, audioTrack *gortsplib.TrackMPEG4Audio, ) *Writer
NewWriter allocates a Writer.
func (*Writer) GenerateSegment ¶
GenerateSegment generates a MPEG-TS segment.
Click to show internal directories.
Click to hide internal directories.