A simple, high efficiency and real-time video server, supports RTMP, WebRTC, HLS, HTTP-FLV and SRT.
Deploy this app to Linode with a free $100 credit!
SRS/6.0 (Hang) is a simple, high efficiency and realtime video server, supports RTMP/WebRTC/HLS/HTTP-FLV/SRT/MPEG-DASH/GB28181, Linux/Windows/macOS, X86_64/ARMv7/AARCH64/M1/RISCV/LOONGARCH/MIPS, and essential features.
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.
Please read guide Getting Started or 中文文档:起步.
To 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.
Other important wiki:
Thank you to all our contributors! 🙏
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:
We are grateful to the community for contributing bugfix and improvements, please follow the guide.
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.
Please read FEATURES.
Please read CHANGELOG.
Please read PERFORMANCE.
Please read ARCHITECTURE.
Please read PORTS.
Please read APIS.
Please read MIRRORS.
Please read DOCKERS.
Beijing, 2013.10
Winlin
Please login to review this project.
No reviews for this project yet.
Comments (0)
Please login to join the discussion on this project.