本文共 489 字,大约阅读时间需要 1 分钟。
NGINX的推流设置
C:\Users\Administrator\Desktop\nginx\conf\nginx.confrtmp { server { listen 1936; #端口 chunk_size 4096; application live { live on; record off; allow play all; } application hls { live on; hls on; #开启hls hls_path "C:\\Program Files\\Apache Software Foundation\\Tomcat 9.0\\webapps\\ROOT\\tmp\\hls\\"; hls_fragment 5s; #一个ts 文件的时长 5s } }}
转载地址:http://frzti.baihongyu.com/