获取SRC GIT
git clone https://gitee.com/winlinvip/srs.oschina.git srs &&cd srs/trunk && git remote set-url origin https://github.com/ossrs/srs.git && git pull
编辑安装
./configure && make
配置 conf/rtmp.conf 文件
# the config for srs to delivery RTMP
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleRTMP
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
pid ./objs/srs.pid;
srs_log_file ./objs/srs.log;
vhost __defaultVhost__ {
}
启动直播 ./objs/srs -c conf/rtmp.conf
成功推流