mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-16 19:54:59 +00:00
RTMP source: fix reading audio track
This commit is contained in:
parent
5eb6db107f
commit
ea6b616759
@ -193,7 +193,7 @@ func (s *Source) runInner() bool {
|
||||
|
||||
onFrame := func(trackID int, payload []byte) {
|
||||
rtcpSenders.OnFrame(trackID, gortsplib.StreamTypeRTP, payload)
|
||||
res.SP.OnFrame(videoTrack.ID, gortsplib.StreamTypeRTP, payload)
|
||||
res.SP.OnFrame(trackID, gortsplib.StreamTypeRTP, payload)
|
||||
}
|
||||
|
||||
for {
|
||||
|
Loading…
Reference in New Issue
Block a user