mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-26 00:22:16 +00:00
hls muxer: print only tracks that are effectively being converted
This commit is contained in:
parent
680b348902
commit
c9de689a72
@ -349,8 +349,16 @@ func (m *hlsMuxer) runInner(innerCtx context.Context, innerReady chan struct{})
|
||||
|
||||
m.path.readerStart(pathReaderStartReq{author: m})
|
||||
|
||||
var tracks []gortsplib.Track
|
||||
if videoTrack != nil {
|
||||
tracks = append(tracks, videoTrack)
|
||||
}
|
||||
if audioTrack != nil {
|
||||
tracks = append(tracks, audioTrack)
|
||||
}
|
||||
|
||||
m.log(logger.Info, "is converting into HLS, %s",
|
||||
sourceTrackInfo(res.stream.tracks()))
|
||||
sourceTrackInfo(tracks))
|
||||
|
||||
writerDone := make(chan error)
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user