/IPTVM

:tv: IPTV Content Management System

Primary LanguagePHP

IPTV Content Management System

Introduction

IPTVM is short for IPTV Content Management System based on yii framework, which not only can manage basic IPTV information of Set-Top Box including accounts, products, etc. , but also can monitor and control the remote servers where streams deployed on.

Installation

IPTVM is available on GitHub, you can clone and install it as follows:

Windows

  • $ git clone https://github.com/AlexanderJLiu/IPTVM.git
  • Install WAMPServer or XAMPP
  • Copy IPTVM to the www/ directory of WAMPServer's installation path
  • Use phpmyadmin or other MySQL GUI tools to import database/iptvm.sql
  • Samples are in database/examples.sql file which contains admin information
  • You should config the config/db.php whose information should equal to your local db
  • Access http://localhost/IPTVM/web/index.php for login
  • Default username is admin and password is admin123

Linux

Monitor Servers & Streams

If you want to monitor your own servers and streams, and get the CPU and RAM info of them, you should add your servers by menu IPTV Moinitor->Monitor Configuration->Monitored Servers first. And the streams also need to be imported to db by yourself(IPTV Moinitor->Monitor Configuration->Monitored Streams). Then, you should deploy IPTVAgent which can upload the realtime info to db on your server, and use IPTVStreaming to stream your sources.

Screenshots

  • Login page

login


  • Monitor Dashboard

monitor_dashboard


  • Server List

server_list


  • Server Comparasion

server_comparasion


  • Server Details

server_detail


  • Server CPU History

server_cpu_history


  • Server RAM History

server_ram_history


  • Server Load History

server_load_history


  • Stream Monitor

stream_monitor


  • Stream Comparasion

stream_comparasion


  • Stream Play

stream_play


  • Management Home

management_home


  • Account Management

account_management


  • Menu Management

menu_management


  • Timezone Management

timezone_management


Note

if you stream youself using nginx, for playing hls file on this system, you should configure your nginx server :

server ## For Serving HLS Segments
{
	listen 80;
	server_name localhost;
	add_header Access-Control-Allow-Origin *;
	...
}