Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 1.49 KB

README.md

File metadata and controls

64 lines (36 loc) · 1.49 KB

fstv-monitoring

real-time monitoring dashboard for nginx rtmp module

fstv monitoring

How to install

first you must installed @nginx-rtmp-module

and you need to install nodejs , npm and git .

  • open nginx config file and add at http -> server section put this code

      location /stat {
          rtmp_stat all;
          rtmp_stat_stylesheet stat.xsl;
      }
    
      location /stat.xsl {
      root html;
      }
    
      location /control {
          rtmp_control all;
    
          # Enable CORS
          add_header Access-Control-Allow-Origin * always;
      }
    
  • move stat.xsl file to main html folder of ningx

  • go to your home folder in your server

    git clone https://github.com/fiftysoft/nginx-rtmp-monitoring.git

  • cd to nginx-rtmp-monitoring folder run :

    npm install

  • start nodejs server

    node server.js

  • open your borwser

Note // please change username , session secret and password from config.json

any help ask me at https://www.facebook.com/khdevelopment

Docker

    docker-compose up

Alternatively build and run the container yourself:

    docker build -t nginx-rtmp-monitoring . && docker run -it --rm -p 9991:9991 nginx-rtmp-monitoring