Skip to content

Fenrirthviti/nginx-rtmp-monitoring

 
 

Repository files navigation

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

About

real-time monitoring statistics dashboard for nginx rtmp module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.3%
  • XSLT 35.2%
  • HTML 23.5%