标签:lin pre 成功 tle figure file uri roo style
git clone https://github.com/nginx/nginx.git
git clone https://github.com/arut/nginx-rtmp-module.git
sudo apt install libssl-dev
./auto/configure --add-module=/home/forrest/Code/nginx-rtmp-module
make -j8
sudo make install
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
}
}
}
cd /usr/local/nginx/sbin
sudo ./nginx
server {
listen 8080;
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root /home/forrest/Code/nginx-rtmp-module;
}
}
sudo pkill nginx
sudo ./nginx
标签:lin pre 成功 tle figure file uri roo style
原文地址:https://www.cnblogs.com/forrest-lin/p/10569015.html