From a84b3c69795555fd1334ab62d3814841fc79579b Mon Sep 17 00:00:00 2001 From: devdatt Date: Fri, 12 Dec 2025 09:01:46 +0530 Subject: [PATCH] update --- encoder/static.php | 1 - encoder/status.php | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/encoder/static.php b/encoder/static.php index 581310f..0492a6a 100755 --- a/encoder/static.php +++ b/encoder/static.php @@ -400,7 +400,6 @@ function update_service($which_service) echo "Error writing file."; } exec("sudo systemctl restart encoder-main"); - exec("sudo reboot"); break; case 'display'; break; diff --git a/encoder/status.php b/encoder/status.php index 4a6aa80..60a3c22 100755 --- a/encoder/status.php +++ b/encoder/status.php @@ -37,15 +37,15 @@ $text .= ""; if ($service_rtmp0_multiple == 'enable') { $text .= "
rtmp://" . $domain . "/shree/bhattji
"; if ($service_rtmp0_dash == 'enable') { - $text .= "http://" . $domain . "/hls/shree/bhattji.m3u8"; + $text .= "http://" . $domain . "/hls/shree/bhattji.m3u8
"; if ($https) { - $text .= "https://" . $domain . "/hls/shree/bhattji.m3u8"; + $text .= "https://" . $domain . "/hls/shree/bhattji.m3u8

"; } } if ($service_rtmp0_dash == 'enable') { - $text .= "http://" . $domain . "/dash/shree/bhattji.mpd"; + $text .= "http://" . $domain . "/dash/shree/bhattji.mpd
"; if ($https) { - $text .= "https://" . $domain . "/dash/shree/bhattji.mpd"; + $text .= "https://" . $domain . "/dash/shree/bhattji.mpd
"; } } $text .= "
"; @@ -53,15 +53,15 @@ if ($service_rtmp0_multiple == 'enable') { if ($service_rtmp1_multiple == 'enable') { $text .= "
rtmp://" . $domain . "/shreeshree/bhattji
"; if ($service_rtmp1_dash == 'enable') { - $text .= "http://" . $domain . "/hls/shreeshree/bhattji.m3u8"; + $text .= "http://" . $domain . "/hls/shreeshree/bhattji.m3u8
"; if ($https) { - $text .= "https://" . $domain . "/hls/shreeshree/bhattji.m3u8"; + $text .= "https://" . $domain . "/hls/shreeshree/bhattji.m3u8

"; } } if ($service_rtmp1_dash == 'enable') { - $text .= "http://" . $domain . "/dash/shreeshree/bhattji.mpd"; + $text .= "http://" . $domain . "/dash/shreeshree/bhattji.mpd
"; if ($https) { - $text .= "https://" . $domain . "/dash/shreeshree/bhattji.mpd"; + $text .= "https://" . $domain . "/dash/shreeshree/bhattji.mpd
"; } } $text .= "
";