rtmpserver base brpc
1.编译brpc,把brpc的output输出文件拷贝到/usr/local下面
sudo cp -r output/include/* /usr/local/include/
sudo cp -r output/lib/* /usr/local/lib/
sudo ldconfig
2.编译源码
mkdir build
cd build
cmake ..
make
3.执行 ./bin/brtmpserver 启动进程
ffmpeg -re -i test.flv -acodec copy -vcodec copy -f flv rtmp://localhost/live/test
ffplay rtmp://localhost/live/test