diff --git a/encoder/status.php b/encoder/status.php
index bf1ed14..56acfc1 100755
--- a/encoder/status.php
+++ b/encoder/status.php
@@ -287,7 +287,53 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
RTMP Server
+
RTMP0 Server
+ &1");
+ $status = trim($status);
+
+ if ($status === "active")
+ $serviceEnabled = true;
+ else
+ $serviceEnabled = false;
+
+ $m3u8_url = 'https://example.com/live/stream.m3u8';
+ ?>
+
+
+
+
+
+ Service
+
+
+ Enabled
+
+ Disabled
+
+
+
+
+
+
+
+
+
+
RTMP1 Server
&1");
$status = trim($status);
@@ -375,11 +421,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
-
Udp Service
+
+
Udp0 Service
&1");
+ $status = shell_exec("sudo systemctl is-active encoder-udp0 2>&1");
$status = trim($status);
if ($status === "active")
@@ -390,11 +435,94 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
-
- 📋
+
+
+
+ Service
+
+
+ Enabled
+
+ Disabled
+
+
+
+
+
+
+
+
Udp1 Service
+ &1");
+ $status = trim($status);
+
+ if ($status === "active")
+ $serviceEnabled = true;
+ else
+ $serviceEnabled = false;
+ ?>
+
+
+
+
+
+
+ Service
+
+
+ Enabled
+
+ Disabled
+
+
+
+
+
+
+
+
+
Udp2 Service
+ &1");
+ $status = trim($status);
+
+ if ($status === "active")
+ $serviceEnabled = true;
+ else
+ $serviceEnabled = false;
+ ?>
+
+
+
@@ -425,7 +553,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
+
Custom Output Service
&1");
@@ -473,7 +601,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
controls
autoplay
playsinline
- src="http://127.0.0.1/shree/bhattji.m3u8">
+ src="http://127.0.0.1/hls/shree/bhattji.m3u8">
Your browser does not support HTML5 HLS playback.