diff --git a/internal/hls/muxer.go b/internal/hls/muxer.go index 18714cb8..2111a0f9 100644 --- a/internal/hls/muxer.go +++ b/internal/hls/muxer.go @@ -158,7 +158,9 @@ func (m *Muxer) WriteAAC(pts time.Duration, aus [][]byte) error { return err } - m.audioAUCount++ + if m.videoTrack == nil { + m.audioAUCount++ + } } return nil