exec_push
執行外部命令
on_publish
,on_publish_done
流上下線通知c++
yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel wget et http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz ./configure make && make install pcre-config --version
git clone https://github.com/arut/nginx-rtmp-module.git
wget get http://nginx.org/download/nginx-1.14.0.tar.gz cd ./nginx-1.14.0 ./configure --prefix=/usr/local/nginx --add-module=../nginx-rtmp-module --with-http_stub_status_module --with- http_v2_module --with-http_ssl_module --with-ipv6 --with-http_gzip_static_module --with-http_realip_module --with- http_flv_module --with-http_mp4_module --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_xslt_module make & make install