- . 下载
nginx , nginx-rtmp (https://github.com/arut/nginx-rtmp-module), openssl
先编译openssl : ./Configure darwin64-x86_64-cc -shared ,直接./config 会只编译32位版本。导致后面编译无法进行
编译nginx ./configure --prefix=/usr/local --with-module=<nginx-rtmp path>; sudo make install
install后nginx在/usr/local/sbin中
- . 编辑
location /hls { |