Searching...
2014年9月1日 星期一

Nginx RTMP Module Stat

1. 將 RTMP 模組檔案解壓縮後的 stat.xsl 複製到網頁目錄
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 意見:

張貼留言