mediamtx/internal/core/reader.go

14 lines
243 B
Go
Raw Normal View History

package core
import (
"github.com/aler9/gortsplib"
)
// reader is an entity that can read a stream.
type reader interface {
2021-10-27 19:01:00 +00:00
close()
onReaderAccepted()
onReaderFrame(int, gortsplib.StreamType, []byte)
onReaderAPIDescribe() interface{}
}