Browse Source

RTMP source: fix reading audio track

pull/346/head
aler9 4 years ago
parent
commit
ea6b616759
  1. 2
      internal/sourcertmp/source.go

2
internal/sourcertmp/source.go

@ -193,7 +193,7 @@ func (s *Source) runInner() bool { @@ -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…
Cancel
Save