2021-07-31 18:46:06 +00:00
|
|
|
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)
|
2021-07-04 16:13:49 +00:00
|
|
|
OnReaderAPIDescribe() interface{}
|
2021-07-31 18:46:06 +00:00
|
|
|
}
|