切换GItHub源并下载
git clone https://git.oschina.net/winlinvip/srs.oschina.git && cd srs.oschina &&
git remote set-url origin https://github.com/ossrs/srs.git && cd trunk && ./configure && make
运行
./objs/srs -c conf/srs.conf
查看运行是否成功
ps -ef | grep srs
安装yasm
srs的3rdparty内有
cd 3rdparty/
安装yasm
解压
unzip yasm-1.2.0.zip
cd yasm-1.2.0
安装
./configure
编译并安装
make && make install
安装ffmpeg
解压
unzip ffmpeg-2.1.1.zip
cd ffmpeg-2.1.1
安装
./configure
编译并安装
make && make install