3 Star 6 Fork 4

winlinvip / srs.wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
v3_EN_Home.md 7.60 KB
一键复制 编辑 原始数据 按行查看 历史
winlinvip 提交于 2022-01-06 11:57 . Update

HOME > EN

SRS Overview

SRS is a simple, high efficiency and realtime video server, supports RTMP/HLS/HTTP-FLV.

Getting Started

Get SRS source, recommend CentOS7:

git clone -b 3.0release https://github.com/ossrs/srs.git

Build SRS in srs/trunk:

cd srs/trunk
./configure
make

Run SRS server:

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

Check SRS by http://localhost:8080/ or:

# Check the process status
./etc/init.d/srs status

# Check the SRS logs
tail -f ./objs/srs.log

Publish stream by FFmpeg or OBS :

ffmpeg -re -i ./doc/source.flv -c copy -f flv -y rtmp://localhost/live/livestream

Play stream by:

Please read more information about SRS.

Docker

Run SRS docker, the available images is here :

docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \
    ossrs/srs:3 ./objs/srs -c conf/srs.conf

Please read more information about SRS.

Effective SRS

SRS is industrial-strength live streaming cluster, for the best conceptual integrity and the simplest implementation. SRS provides variety of inputs, for example, Push RTMP to SRS, Push RTSP/UDP/FLV to SRS, Pull Stream to SRS. SRS can transform the RTMP to other protocols or deliveries, for example, RTMP Transcode, Snapshot, Forward to Other Servers, Transmux to HTTP-FLV, Transmux to HLS, Transmux to HDS, Transmux to DASH, DVR to FLV/MP4. SRS canbe used in CDN for large stream clusters, for example, RTMP ClusterOriginCluster, VHOST, Reload, HTTP-FLV Cluster. Futhermore, SRS provides apis, for example, HTTP Callback, Security, HTTP API, RTMP Bandwidth Test. There're lots of Applications in both CDN and origin servers.

Note: Please read https://www.processon.com/view/link/619f24137d9c083e98adab49 for details.

User Guides:

  • Quick Start: A quick introduction of SRS, please start here.
  • Milestones: The milestone and product design。
  • Why SRS: Why you should choose SRS? What's the roadmap?
  • GIT Mirrors: The GIT mirrors of SRS to get SRS faster.
  • Main Features: The features list of SRS. Some features is introduced from specified version; while some features are experiment.
  • Releases: The released versions of SRS.
  • Docs: The detail tech docs of SRS.

Deployment Guides:

We illustrate and explain how to deploy SRS for typical use scenarios.

Cluster Guides:

The examples here are aimed for deploying and maintaining origin/edge cluster.

Integration Guides:

Migrate From NGINX-RTMP:

If you are a user of nginx-rtmp, there is a tendency to use SRS as nginx-rtmp that you already know. Be aware of this bias and try to avoid it.

  • NG EXEC: Fork/Exec external program when got some event.

Benchmarks:

  • Compare: The comparation of SRS to other servers.
  • Performance: The performance benchmark.

Join Us:

Develop Guide

  • SRS Code Analysis, code and arch.
  • SRS Librtmp: Exported librtmp library by SRS, can be used to push or pull stream over RTMP, and it's C++ code to compile for Android or iOS.
  • Third-party Client SDK: For mobile platform, such as Android and iOS, there are some client SDKs to publish or play live stream.

Questions or need help?

For any help, contact us.

Winlin 2015.7

1
https://gitee.com/winlinvip/srs-wiki.git
git@gitee.com:winlinvip/srs-wiki.git
winlinvip
srs-wiki
srs.wiki
master

搜索帮助