diff --git a/encoder/status.php b/encoder/status.php index 063c1e5..4a6aa80 100755 --- a/encoder/status.php +++ b/encoder/status.php @@ -29,6 +29,47 @@ $service_rtmp1_hls = $data['service_rtmp0_hls']; $service_rtmp1_dash = $data['service_rtmp0_dash']; $service_srt_multiple = $data['service_srt_multiple']; +$text = "

Encoder

"; +$text .= "
http://" . $domain; +if ($https) $text .= "
https://" . $domain; +$text .= "
"; + +if ($service_rtmp0_multiple == 'enable') { + $text .= "
rtmp://" . $domain . "/shree/bhattji
"; + if ($service_rtmp0_dash == 'enable') { + $text .= "http://" . $domain . "/hls/shree/bhattji.m3u8"; + if ($https) { + $text .= "https://" . $domain . "/hls/shree/bhattji.m3u8"; + } + } + if ($service_rtmp0_dash == 'enable') { + $text .= "http://" . $domain . "/dash/shree/bhattji.mpd"; + if ($https) { + $text .= "https://" . $domain . "/dash/shree/bhattji.mpd"; + } + } + $text .= "
"; +} +if ($service_rtmp1_multiple == 'enable') { + $text .= "
rtmp://" . $domain . "/shreeshree/bhattji
"; + if ($service_rtmp1_dash == 'enable') { + $text .= "http://" . $domain . "/hls/shreeshree/bhattji.m3u8"; + if ($https) { + $text .= "https://" . $domain . "/hls/shreeshree/bhattji.m3u8"; + } + } + if ($service_rtmp1_dash == 'enable') { + $text .= "http://" . $domain . "/dash/shreeshree/bhattji.mpd"; + if ($https) { + $text .= "https://" . $domain . "/dash/shreeshree/bhattji.mpd"; + } + } + $text .= "
"; +} + +if($service_srt_multiple){ + $text .= "
srt://" . $domain . "/shree/bhatt/ji


"; +} if ($_SERVER['REQUEST_METHOD'] === 'POST') { @@ -629,9 +670,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {

Output Links

-

Encoder IP

- http://". $domain.""; ?> - https://".$domain.""; ?> +