wget https://github.com/arut/nginx-rtmp-module/archive/master.zip unzip master.zip cp nginx-rtmp-module-master/stat.xsl /usr/local/nginx/html/.
2. 編輯 Nginx 設定檔,加入 stat 網頁設定
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root html;
}
3. 重新讀取設定檔
4. 連結網頁 http://[ip]/stat
參考 : https://github.com/arut/nginx-rtmp-module
0 意見:
張貼留言