Browse Source

hls: use audioAUCount only if audio is primary track

pull/591/head
aler9 5 years ago
parent
commit
74f3be1eed
  1. 2
      internal/hls/muxer.go

2
internal/hls/muxer.go

@ -158,8 +158,10 @@ func (m *Muxer) WriteAAC(pts time.Duration, aus [][]byte) error {
return err return err
} }
if m.videoTrack == nil {
m.audioAUCount++ m.audioAUCount++
} }
}
return nil return nil
} }

Loading…
Cancel
Save