mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-09 20:02:01 -08:00
hls: fix AU counting of audio-only tracks
This commit is contained in:
parent
3e8668f9e2
commit
43c3b7b60d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue