service_rtmp0_multiple

This commit is contained in:
devdatt 2025-12-12 04:43:00 +05:30
parent 9a4ce9ef49
commit ca33f38a53
1 changed files with 4 additions and 0 deletions

View File

@ -706,6 +706,10 @@ srt {
exec('sudo systemctl restart srt');
exec('sudo systemctl enable encoder-srt');
exec('sudo systemctl restart encoder-srt');
if ($service_rtmp0_multiple)
exec('sudo systemctl restart encoder-rtmp0');
if ($service_rtmp1_multiple)
exec('sudo systemctl restart encoder-rtmp1');
} else {
exec('sudo systemctl disable srt');
exec('sudo systemctl stop srt');