一、环境安装
#yum-y install cmake
#yum–y install openssl
#yum–y install openssl-devel
#yum–y install gcc
#yum–y install gcc-c++
#yum–y install make
#yum–y install svn
#serviceiptables stop
二、安装crtmpserver
#cd/usr/local/src/
#svnco --username anonymous --password ""https://svn.rtmpd.com/crtmpserver/branches/1.0 crtmpserver
#cd crtmpserver/
#sh ./cleanup.sh
#cd builders/cmake/
#cmake.
#make
#./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua
出现go go go这个图即OK!
三、直播测试
需要的软件
接收工具:videoPlayer
完整的推流URL:
rtmp://192.168.0.108/live
流名称:test
Ps:添加、编辑appname和端口可以通过修改crtmpserver.lua文件实现;
转载于:https://blog.51cto.com/maododo/1279477