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

Loading…
Cancel
Save