MAC . 推流服务器

1:  下载和安装 。按一下顺序

MAC . 推流服务器

1pcreftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

       1、./configure       2、make    3、make install

2zlibhttp://www.zlib.net/

      1、./configure       2、make    3、make install

3OpenSSLhttps://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

4rtmphttps://github.com/arut/nginx-rtmp-module

5Nginxhttps://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 文件夹

MAC . 推流服务器