代码语言:javascript复制
apt-get install wget cmake
apt-get install libssl-dev
mkdir crtmp
wget https://codeload.github.com/j0sh/crtmpserver/zip/centosinit
unzip centosinit
cd crtmpserver-centosinit/builders/cmake
cmake .
make
./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua
开始推流测试
代码语言:javascript复制ffmpeg -i test.mp4 -c copy -f flv rtmp://123.207.71.137/live/test