SimpleRTMPServer(SRS) 编译安装

方式1:

echo "For CentOS6" &&
wget http://ossrs.net/srs.release/releases/files/SRS-CentOS6-x86_64-latest.zip &&
unzip -q SRS-CentOS6-x86_64-latest.zip && cd SRS-CentOS6-x86_64-* && sudo bash INSTALL &&
sudo /etc/init.d/srs start

方式2:

yum install git -y && git clone https://github.com/ossrs/srs.git
cd srs/trunk
./configure --with-ingest --with-nginx & make

或者 

./configure --full
make

另外建议重新编译FFmpeg

参考https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

 

你可能感兴趣的:(srs)