Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ srs Public
forked from ossrs/srs

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

License

Notifications You must be signed in to change notification settings

HelloWater/srs

Repository files navigation

SRS(Simple Realtime Server)

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

SRS/5.0,Bee 是一个简单高效的实时视频服务器,支持RTMP/WebRTC/HLS/HTTP-FLV/SRT。

SRS Overview

Note: The single node architecture for SRS, for detail please see here.

SRS is licenced under MIT or MulanPSL-2.0, and note that MulanPSL-2.0 is compatible with Apache-2.0, but some third-party libraries are distributed using their own licenses.

Usage

Build SRS from source:

git clone -b develop https://gitee.com/ossrs/srs.git &&
cd srs/trunk && ./configure && make && ./objs/srs -c conf/srs.conf

Open http://localhost:8080/ to check it, then publish by FFmpeg or OBS as:

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

Play the following streams by players:

Note that if convert RTMP to WebRTC, please use rtmp2rtc.conf:

Note: Besides of FFmpeg or OBS, it's also able to publish by H5 if WebRTC(CN, EN) is enabled, please remember to set the CANDIDATE(CN or EN) for WebRTC.

Highly recommend that directly run SRS by docker(CN / EN), Cloud Virtual Machine(CN / EN), or K8s(CN / EN), however it's also easy to build SRS from source code, for detail please see Getting Started(CN / EN).

Note: If need HTTPS, by which WebRTC and modern browsers require, please read HTTPS API(CN / EN) and HTTPS Callback(CN / EN) and HTTPS Live Streaming(CN / EN), however HTTPS proxy also works perfect with SRS such as Nginx.

From here, please read wikis:

  • Getting Started, please read Wiki first.
  • 中文文档:起步,不读Wiki一定扑街,不读文档请不要提Issue,不读文档请不要提问题,任何文档中明确说过的疑问都不会解答。

Fast index for Wikis:

  • How to deliver RTMP streaming?(CN, EN)
  • How to deliver WebRTC streaming? (CN, EN)
  • How to covert RTMP to HTTP-FLV streaming?(CN, EN)
  • How to covert RTMP to HLS streaming?(CN, EN)
  • How to deliver low-latency streaming?(CN, EN)
  • How to build RTMP Edge-Cluster?(CN, EN)
  • How to build RTMP Origin-Cluster?(CN, EN)
  • How to build HLS Edge-Cluster?(CN, EN)

Other important wiki:

  • Usage: How to deliver DASH(Experimental)?(CN, EN)
  • Usage: How to transode RTMP stream by FFMPEG?(CN, EN)
  • Usage: How to deliver HTTP FLV Live Streaming Cluster?(CN, EN)
  • Usage: How to deliver HLS by NGINX Cluster?(CN, EN)
  • Usage: How to ingest file/stream/device to RTMP?(CN, EN)
  • Usage: How to forward stream to other servers?(CN, EN)
  • Usage: How to improve edge performance for multiple CPUs? (CN, EN)
  • Usage: How to file a bug or contact us? (CN, EN)

AUTHORS

Thank you to all our contributors! 🙏

Note: You may provide financial support for this project by donating via Open Collective. Thank you for your support!

The TOC(Technical Oversight Committee), Developers and contributors:

A big THANK YOU also goes to:

Contributing

We are grateful to the community for contributing bugfix and improvements, please follow the guide.

LICENSE

FOSSA Status

SRS is licenced under MIT or MulanPSL-2.0, and note that MulanPSL-2.0 is compatible with Apache-2.0, but some third-party libraries are distributed using their own licenses.

Releases

  • 2022年06月29日, Release v4.0-r1, v4.0-r1, 4.0 release1, v4.0.253, 144680 lines.
  • 2022年06月11日, Release v4.0-r0, v4.0-r0, 4.0 release0, v4.0.252, 144680 lines.
  • 2022年03月19日, Release v4.0-b10, v4.0-b10, 4.0 beta10, v4.0.251, 144665 lines.
  • 2022年02月15日, Release v4.0-b9, v4.0-b9, 4.0 beta9, v4.0.245, 144474 lines.
  • 2022年02月11日, Release v4.0-b8, v4.0-b8, 4.0 beta8, v4.0.241, 144445 lines.
  • 2022年02月09日, Release v4.0-b7, v4.0-b7, 4.0 beta7, v4.0.240, 144437 lines.
  • 2022年02月04日, Release v4.0-b6, v4.0-b6, 4.0 beta6, v4.0.238, 144437 lines.
  • 2022年01月30日, Release v4.0-b5, v4.0-b5, 4.0 beta5, v4.0.236, 144416 lines.
  • 2022年01月17日, Release v4.0-b4, v4.0-b4, 4.0 beta4, v4.0.230, 144393 lines.
  • 2022年01月13日, Release v4.0-b3, v4.0-b3, 4.0 beta3, v4.0.229, 144393 lines.
  • 2022年01月03日, Release v4.0-b2, v4.0-b2, 4.0 beta2, v4.0.215, 144278 lines.
  • 2021年12月19日, Release v4.0-b1, v4.0-b1, 4.0 beta1, v4.0.206, 144126 lines.
  • 2021年12月01日, Release v4.0-b0, v4.0-b0, 4.0 beta0, v4.0.201, 144022 lines.
  • 2021年11月15日, Release v4.0.198, 4.0 dev8, v4.0.198, 144010 lines.
  • 2021年11月02日, Release v4.0.191, 4.0 dev7, v4.0.191, 143890 lines.
  • 2021年10月12日, Release v4.0.177, 4.0 dev6, v4.0.177, 143686 lines.
  • 2021年09月05日, Release v4.0.161, 4.0 dev5, v4.0.161, 145865 lines.
  • 2021年08月15日, Release v4.0.156, 4.0 dev4, v4.0.156, 145490 lines.
  • 2021年08月14日, Release v4.0.153, 4.0 dev3, v4.0.153, 145506 lines.
  • 2021年08月07日, Release v4.0.150, 4.0 dev2, v4.0.150, 145289 lines.
  • 2021年07月25日, Release v4.0.146, 4.0 dev1, v4.0.146, 144026 lines.
  • 2021年07月04日, Release v4.0.139, 4.0 dev0, v4.0.139, 143245 lines.
  • 2020年06月27日, Release v3.0-r0, 3.0 release0, 3.0.141, 122674 lines.
  • 2020年02月02日, Release v3.0-b0, 3.0 beta0, 3.0.112, 121709 lines.
  • 2019年10月04日, Release v3.0-a0, 3.0 alpha0, 3.0.56, 107946 lines.
  • 2017年03月03日, Release v2.0-r0, 2.0 release0, 2.0.234, 86373 lines.
  • 2016年08月06日, Release v2.0-b0, 2.0 beta0, 2.0.210, 89704 lines.
  • 2015年08月23日, Release v2.0-a0, 2.0 alpha0, 2.0.185, 89022 lines.
  • 2014年12月05日, Release v1.0-r0, all bug fixed, 1.0.10, 59391 lines.
  • 2014年10月09日, Release v0.9.8, all bug fixed, 1.0.0, 59316 lines.
  • 2014年04月07日, Release v0.9.1, live streaming. 30000 lines.
  • 2013年10月23日, Release v0.1.0, rtmp. 8287 lines.
  • 2013年10月17日, Created.

Features

Please read FEATURES.

Changelog

Please read CHANGELOG.

Performance

Please read PERFORMANCE.

Architecture

Please read ARCHITECTURE.

Ports

Please read PORTS.

APIs

Please read APIS.

Mirrors

Please read MIRRORS.

Beijing, 2013.10
Winlin

About

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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.7%
  • JavaScript 6.4%
  • HTML 3.5%
  • Shell 2.4%
  • Python 0.9%
  • CMake 0.1%

AltStyle によって変換されたページ (->オリジナル) /