mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-10 16:37:54 +00:00
* split data into specialized structs * move MPEG4-audio decoding into streamTrack * restore video/audio synchronization in HLS muxer and RTMP server * log decode errors * move H264 decoding and re-encoding here from gortsplib * add tests * update gortsplib
9 lines
149 B
Go
9 lines
149 B
Go
package core
|
|
|
|
// reader is an entity that can read a stream.
|
|
type reader interface {
|
|
close()
|
|
onReaderData(data)
|
|
apiReaderDescribe() interface{}
|
|
}
|