https://www.jianshu.com/p/3ac4d9d11517
直接用brew
brew tap denji/homebrew-nginx
# 安装nginx-full和rtmp
brew install nginx-full--with-rtmp-module
brew services start nginx-full
输入地址 http://localhost:8080

打开 /usr/local/etc/nginx/nginx.conf
增加rtmp服务

修改配置后 重新加载
nginx -s reload

监听这个端口 播放



启动
brew services start denji/nginx/nginx-full
brew services start nginx-full
停止
brew services stop nginx-full
https://www.jianshu.com/p/7aa3cb7941a8.html
http://www.cnblogs.com/jys509/p/5649066.html
手动
./configure --prefix=/user/local/nginx --add-module=/Users/liurong/Desktop/小白音视频项目/nginx-rtmp-module-master --with-openssl=/Users/liurong/Desktop/小白音视频项目/openssl-master
make -j 4
make install
网友评论