SRS

Abstract

Simple RTMP Server

Authors

Walter Fan

Status

WIP

Updated

2024-08-21

Overview

Quick Start

  • 编译

git clone -b develop https://gitee.com/ossrs/srs.git
cd srs/trunk/
sudo apt install -y unzip
sudo apt install -y tclsh
./configure
make
  • 启动

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

# 查看SRS的状态
./etc/init.d/srs status

# 或者看SRS的日志
tail -n 30 -f ./objs/srs.log
  • 测试

sudo apt install ffmpge
ffmpeg -re -i ./doc/source.flv -c copy -f flv rtmp://localhost/live/livestream