mediamtx/internal/core/reader.go
Alessandro Ros c778c049ce
switch to gortsplib v2 (#1301)
Fixes #1103

gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.

For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.
2022-12-13 20:54:17 +01:00

8 lines
129 B
Go

package core
// reader is an entity that can read a stream.
type reader interface {
close()
apiReaderDescribe() interface{}
}