mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-26 05:19:15 -08:00
Decode streams once and only when needed (#1218)
* 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
This commit is contained in:
parent
bf14467331
commit
0943b269ab
19 changed files with 873 additions and 259 deletions
|
|
@ -3,6 +3,6 @@ package core
|
|||
// reader is an entity that can read a stream.
|
||||
type reader interface {
|
||||
close()
|
||||
onReaderData(*data)
|
||||
onReaderData(data)
|
||||
apiReaderDescribe() interface{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue