下载源码,推荐用Ubuntu20:
git clone -b develop https://gitee.com/ossrs/srs.git
cd srs/trunk
./configure
make
./objs/srs -c conf/srs.conf
sudo lsof -i:1935
sudo kill -9 47318
ffmpeg -re -i D:\Android\Chrome\source.flv -c copy -f flv rtmp://个人服务器外网ip/live/livestream
参考文件:https://ossrs.net/lts/zh-cn/docs/v5/doc/getting-started-build