MAC . 推流服务器
1: 下载和安装 。按一下顺序
1、pcre:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
1、./configure 2、make 3、make install
2、zlib:http://www.zlib.net/
1、./configure 2、make 3、make install
3、OpenSSL:https://github.com/openssl/openssl
1:./Configure darwin64-x86_64-cc -shared —prefix=/Users/dev/Documents/ASworkSpace/rtmp/openssl-1.1.0/libs
2: make 3: make install
4、rtmp:https://github.com/arut/nginx-rtmp-module
5、Nginx:https://github.com/nginx/nginx
1: ./auto/configure --add-module=/Users/dev/Documents/ASworkSpace/rtmp/nginx-rtmp-module --with-openssl=/Users/dev/Documents/ASworkSpace/rtmp/openssl-1.1.0
2: make 3: sudo make install
2: 成功后会在 /usr/local/nginx 文件夹