mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-01 12:11:47 +00:00
hls: fix AU counting of audio-only tracks
This commit is contained in:
parent
3e8668f9e2
commit
43c3b7b60d
@ -13,7 +13,7 @@ import (
|
||||
|
||||
type muxerTSSegment struct {
|
||||
hlsSegmentMaxSize uint64
|
||||
videoTrack gortsplib.Track
|
||||
videoTrack *gortsplib.TrackH264
|
||||
writer *muxerTSWriter
|
||||
|
||||
name string
|
||||
@ -26,7 +26,7 @@ type muxerTSSegment struct {
|
||||
|
||||
func newMuxerTSSegment(
|
||||
hlsSegmentMaxSize uint64,
|
||||
videoTrack gortsplib.Track,
|
||||
videoTrack *gortsplib.TrackH264,
|
||||
writer *muxerTSWriter,
|
||||
) *muxerTSSegment {
|
||||
t := &muxerTSSegment{
|
||||
|
Loading…
Reference in New Issue
Block a user