srt_pass1 ===
This commit is contained in:
parent
a21550ebaf
commit
90a354b2c4
|
|
@ -117,9 +117,9 @@ function update_service($which_service)
|
|||
$hdmi_delay_video = $data['hdmi']['video_delay'];
|
||||
$hdmi_delay_audio = $data['hdmi']['audio_delay'];
|
||||
|
||||
if ($srt_pass1 === "")
|
||||
if ($srt_pass1 == "")
|
||||
$srt_pass1 = generateRandomString(16);
|
||||
if ($srt_pass2 === "")
|
||||
if ($srt_pass2 == "")
|
||||
$srt_pass2 = generateRandomString(16);
|
||||
switch ($use_common_backend) {
|
||||
case "copy_input":
|
||||
|
|
@ -813,9 +813,9 @@ function update_service_backend($service)
|
|||
$srt_pass1 = $data['srt']['stream_id_1'];
|
||||
$srt_pass2 = $data['srt']['stream_id_2'];
|
||||
|
||||
if ($srt_pass1 === "")
|
||||
if ($srt_pass1 == "")
|
||||
$srt_pass1 = generateRandomString(16);
|
||||
if ($srt_pass2 === "")
|
||||
if ($srt_pass2 == "")
|
||||
$srt_pass2 = generateRandomString(16);
|
||||
|
||||
$jsonFile = __DIR__ . '/output.json';
|
||||
|
|
|
|||
Loading…
Reference in New Issue