Fix the master_pl in tee_muxer

This commit is contained in:
Jan Stabenow 2022-07-18 19:26:58 +02:00
parent d4f8f25d65
commit 4e04c1caec
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133

View File

@ -1735,7 +1735,7 @@ class Restreamer {
// ['f=hls:start_number=0...]address.m3u8
// use tee_muxer formatting
output.address =
`[${hls_params}]{${hlsStorage}}/${channel.channelid}.m3u8` +
`[${hls_params}]{${hlsStorage}}/${channel.channelid}${bitrate_suffix}.m3u8` +
(rtmp_enabled ? `|[f=flv]{rtmp,name=${channel.channelid}.stream}` : '') +
(srt_enabled ? `|[f=mpegts]{srt,name=${channel.channelid},mode=publish}` : '');
} else {