一、SRS服务器搭建
srs源码下载 https://github.com/ossrs/srs
编译 运行
./configure && make
./objs/srs -c conf/srs.conf
二、rtmp 推流
代码上传到github https://github.com/liuzhanchun/RtmpPush
运行时的IP为SRS服务器的IP
三、测试
1、web
输入的IP为SRS服务器IP,然后播放视频

2、vlc
使用VLC media player软件进行测试
媒体–>打开网络串流,输入的ip为SRS服务器的ip
