Windows下的資源下載 https://download.csdn.net/download/w13511069150/10718044,目前來測試來看,延時的時間較長
1.NGINX管理
啓動:start nginx -c conf\nginx-win-rtmp.conf
停止:nginx -s stop -c conf\nginx-win-rtmp.conf
重啓:nginx -s reload -c conf\nginx-win-rtmp.conf
2.推流地址
rtmp://localhost:1935/live (使用OBS推流url填寫後,流名稱很重要,拉流的時候需要根據這個名字來拉流,只要名字不同可多路推送)
3.拉流地址
HLS拉流 http://localhost:9090/live/test.m3u8 (test 與 OBS推流時的流名稱相同)
RTMP拉流 rtmp://localhost:1935/live/test (test 與 OBS推流時的流名稱相同)
4.監控
http://localhost:9090/stat (刷新時使用 Ctrl + F5 強制刷新,否則不容易看到)
5.參考文檔
https://github.com/arut/nginx-rtmp-module/wiki/Directives 官方配置參數說明
https://blog.csdn.net/tanningzhong/article/details/77775680?locationNum=5&fps=1 使用PHP推流授權