Fix removes SRT bitstream on tee (OBS > RTMP > SRT is faulty)

This commit is contained in:
Jan Stabenow 2022-10-02 15:30:29 +02:00
parent 7a8a04c442
commit e587f2076b
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Restreamer-UI
### v1.4.0 > v1.4.1
- Fix removes SRT bitstream on tee (OBS > RTMP > SRT is faulty)
### v1.3.0 > v1.4.0
- Add email field for Let's Encrypt certification

View File

@ -1776,7 +1776,7 @@ class Restreamer {
output.address =
`[${hls_aac_adtstoasc ? 'bsfs/a=aac_adtstoasc:' : ''}${hls_params}]${hls_segment_playlist}` +
(rtmp_enabled ? `|[f=flv]{rtmp,name=${channel.channelid}.stream}` : '') +
(srt_enabled ? `|[bsfs/v=dump_extra=freq=keyframe:f=mpegts]{srt,name=${channel.channelid},mode=publish}` : '');
(srt_enabled ? `|[f=mpegts]{srt,name=${channel.channelid},mode=publish}` : '');
} else {
// ['-f', 'hls', '-start_number', '0', ...]
// adding the '-' in front of the first option, then flatten everything