mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-26 17:04:24 +00:00
14 lines
223 B
Go
14 lines
223 B
Go
package core
|
|
|
|
import (
|
|
"github.com/pion/rtp"
|
|
)
|
|
|
|
// reader is an entity that can read a stream.
|
|
type reader interface {
|
|
close()
|
|
onReaderAccepted()
|
|
onReaderPacketRTP(int, *rtp.Packet)
|
|
onReaderAPIDescribe() interface{}
|
|
}
|