iOS直播软件源码开发:基于RTMP的视频推流(二)
5、nginx和rtmp模块就安装好了,输入命令
nginx
6、在浏览器里打开http://localhost:8080,查看安装结果
7、安装成功后,配置nginx和ramp,找到nginx.conf文件所在位置
brew info nginx-full
8、编辑nginx.conf,在http节点后面加上rtmp配置
#在http节点后面加上rtmp配置 rtmp { server { listen 1935; application rtmplive { live on; record off; } } }