企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 推流配置及测试 ### nginx.conf 添加配置 ~~~ rtmp { server { listen 1935; application live { live on; hls on; hls_path /www/wwwroot/www.vo.com; } } } ~~~ ~~~ location /stat { rtmp_stat all; rtmp_stat_stylesheet stat.xsl; } location /stat.xsl { root /root/nginx-rtmp-module/; } location /live { types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; } root /www/wwwroot/www.vo.com; add_header Cache-Control no-cache; add_header Access-Control-Allow-Origin *; } ~~~ ~~~ netstat -ltn ~~~ ### 2 防火墙打开1935端口 ### 3 使用obs推流软件 配置直播串流地址 那些ev录屏什么的不行 生成.m3u8文件会删掉 不知道什么原因 ![](https://img.kancloud.cn/ae/c7/aec7d9054e202489625e97096665fa27_1160x678.png) 到此 推流完成