From fe87f39b49a5bd525196f29f547fa853d1e0d00b Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Tue, 3 Dec 2024 11:49:37 -0300 Subject: [PATCH] Update --- objects/functionsStandAlone.php | 1 - plugin/API/standAlone/ffmpeg.json.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/functionsStandAlone.php b/objects/functionsStandAlone.php index 116f00780c..e6819189b5 100644 --- a/objects/functionsStandAlone.php +++ b/objects/functionsStandAlone.php @@ -30,7 +30,6 @@ function loadStandaloneConfiguration() if (file_exists($configFile)) { require_once $configFile; $streamerURL = $global['webSiteRootURL']; - error_log("Rebroadcaster.json.php is using local configuration"); if($isStandAlone){ if (!isAPIKeyValid()) { die('Invalid API Key'); diff --git a/plugin/API/standAlone/ffmpeg.json.php b/plugin/API/standAlone/ffmpeg.json.php index 900756c951..fcf5412d14 100644 --- a/plugin/API/standAlone/ffmpeg.json.php +++ b/plugin/API/standAlone/ffmpeg.json.php @@ -147,6 +147,7 @@ // Remove dangerous characters $command = str_replace('&&', '', $command); $command = str_replace('rtmp://live/', 'rtmp://vlu.me/', $command); + $command = str_replace('https://live:8443/', 'https://vlu.me:8443/', $command); // Remove existing log file redirection (e.g., '> /path/to/log 2>&1' or '> /path/to/log') $command = preg_replace('/\s*>.*(?:2>&1)?/', '', $command);