mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-03 13:13:00 +00:00
14 lines
243 B
Go
14 lines
243 B
Go
package core
|
|
|
|
import (
|
|
"github.com/aler9/gortsplib"
|
|
)
|
|
|
|
// reader is an entity that can read a stream.
|
|
type reader interface {
|
|
close()
|
|
onReaderAccepted()
|
|
onReaderFrame(int, gortsplib.StreamType, []byte)
|
|
onReaderAPIDescribe() interface{}
|
|
}
|