Fix SRT bitstream on tee

This commit is contained in:
Jan Stabenow 2022-09-30 09:52:51 +02:00
parent a59c766c4d
commit 4017c1d2a3
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133
3 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@
- Add dlive & Trovo publication services
- Mod optimized DVR on DiskFS
- Mod updates packages
- Fix SRT bitstream on tee
- Fix typo
- Fix viewer count (datarhei/restreamer#394)
- Fix user registration if username and/or password are set via environment (datarhei/restreamer-ui#13)

View File

@ -1,7 +1,7 @@
{
"name": "restreamer-ui",
"version": "1.3.0",
"bundle": "restreamer-v2.2.0",
"bundle": "restreamer-v2.3.0",
"private": false,
"license": "Apache-2.0",
"dependencies": {

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 ? `|[f=mpegts]{srt,name=${channel.channelid},mode=publish}` : '');
(srt_enabled ? `|[bsfs/v=dump_extra=freq=keyframe: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