2022-02-26 SRS 服务器简单搭建

1.下载源码

git clone -b 4.0release https://gitee.com/ossrs/srs.git

2.编译

cd srs/trunk
./configure
make

3.运行

./objs/srs -c conf/srs.conf

4.推流

ffmpeg -f gdigrab -i desktop -vcodec libx264 -s 640x480 -r 20 -preset:v ultrafast -tune:v zerolatency -f flv rtmp://192.168.1.17/live/live1

你可能感兴趣的:(2022-02-26 SRS 服务器简单搭建)