srs低延时配置
https://github.com/ossrs/srs/wiki/v2_CN_LowLatency#gop-cache
低延时配置
# the listen ports, split by space.
listen 1935;
vhost __defaultVhost__ {
gop_cache off;
queue_length 10;
min_latency on;
mr {
enabled off;
}
mw_latency 100;
tcp_nodelay on;
}
https://blog.csdn.net/tangyaliang11/article/details/80469711
yum -y install gcc gcc-c++ autoconf automake make
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel
wget http://nginx.org/download/nginx-1.13.12.tar.gz
git clone https://github.com/arut/nginx-rtmp-module.git
./configure --prefix=/usr/local/nginx --add-module=/usr/local/nginx/module/nginx-rtmp-module
make && make instal
/usr/local/nginx/sbin/nginx