srt_pass1

This commit is contained in:
devdatt 2025-11-30 17:55:04 +05:30
parent cbccb0d21a
commit 023a608233
1 changed files with 6 additions and 6 deletions

View File

@ -15,9 +15,9 @@ function update_service($which_service)
$input_rtmp_mount = ""; $input_rtmp_mount = "";
$input_rtmp_pass = ""; $input_rtmp_pass = "";
$output = ""; $output = "";
$srt_pass1 = generateRandomString(16); $srt_pass1 = "";
$srt_pass2 = generateRandomString(16); $srt_pass2 = "";
$srt_pass3 = generateRandomString(16); $srt_pass3 = "";
$rtmp_multiple[] = []; $rtmp_multiple[] = [];
$srt_multiple[] = []; $srt_multiple[] = [];
$defaults = [ $defaults = [
@ -33,9 +33,9 @@ function update_service($which_service)
'password' => 'live', 'password' => 'live',
], ],
'srt' => [ 'srt' => [
'stream_id_1' => 'pass1', 'stream_id_1' => "'".generateRandomString(16)."'",
'stream_id_2' => 'pass2', 'stream_id_2' => "'".generateRandomString(16)."'",
'stream_id_3' => 'pass3', 'stream_id_3' => "'".generateRandomString(16)."'",
], ],
'udp' => 'udp://@224.1.1.1:8000', 'udp' => 'udp://@224.1.1.1:8000',
'custom' => '', 'custom' => '',