ossrs /srs
SRS is a simple, high-performance, AI-driven real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181, with codec support for H.264, H.265, AV1, VP9, AAC, Opus, and G.711.
★ 29,440⑂ 5,710👁 818⑃ 1,027● 1,671▤ 86
-1
日增长
+18
周增长
+95
月增长
29,440
stars
5,710
forks
818
watchers
1,027
prs
1,671
issues
86
releases
README
SRS(Simple Realtime Server)
!
SRS/8.0 (Free) is a simple, high-performance, AI-driven real-time media server.
It supports RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181 on Linux and macOS across
x86_64, ARMv7, AArch64, Apple M1, RISC-V, LoongArch, and MIPS architectures, and natively on
Windows x64. Supported codecs include
H.264, H.265, AV1, VP9, AAC, Opus, and G.711. See the complete list of features.
Note: For more details on the single-node architecture for SRS, please visit the following link.
SRS is licenced under MIT, and some third-party libraries are
distributed under their licenses.
Usage
Please check the Getting Started guide in English
or Chinese. We highly recommend using SRS with docker:
bash
docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \
-p 8000:8000/udp -p 10080:10080/udp ossrs/srs:6
Open http://localhost:8080/ to verify, and then stream using the following
FFmpeg command:
bash
ffmpeg -re -i ./doc/source.flv -c copy -f flv -y rtmp://localhost/live/livestream
Alternatively, stream by OBS using the following configuration:
Service: Custom
Server: rtmp://localhost/live
Stream Key: livestream
Play the following streams using media players:
To play an RTMP stream with URL rtmp://localhost/live/livestream on VLC player, open the player, go to Media Open Network Stream, enter the URL and click Play.
You can play HTTP-FLV stream URL http://localhost:8080/live/livestream.flv on a webpage using the srs-player, an HTML5-based player.
Use srs-player for playing HLS stream with URL http://localhost:8080/live/livestream.m3u8.
If you'd like to use WebRTC, convert RTMP to WebRTC, or convert WebRTC to RTMP, please check out
the wiki documentation in either English or
Chinese.
To learn more about RTMP, HLS, HTTP-FLV, SRT, MPEG-DASH, WebRTC protocols, clustering,
HTTP API, DVR, and transcoding, please check the documents in English
or Chinese.
AI Agent
I recommend to use AI to understand and maintain your SRS, please follow the wiki
AI Agent for details.
Contributing
The maintainers, and contributors are listed here. The maintainers
who made significant contributions and maintained parts of SRS are listed below, ranked by the number of commits:
Winlin: Founder of the project, focusing on ST and Issues/PR. Responsible for architecture and maintenance.
XiaoZhihong: Concentrates on WebRTC/QUIC and SRT, with expertise in network QoS. Contributed to ARM on ST and was the original contributor for WebRTC.
ChenHaibo: Specializes in GB28181 and HTTP API, contributing to patches for FFmpeg with WHIP.
ZhangJunqin: Focused on H.265, Prometheus Exporter, and API module.
XiaLixin: Specializes in GB28181, with expertise in live streaming and WebRTC.
Jacob Su: Jacob Su has contributed to various modules of SRS.
ShiWei: Specializes in SRT and H.265, maintaining SRT and FLV patches for FFmpeg. An expert in codecs and FFmpeg.
ChenGuanghua: Focused on WebRTC/QoS and introduceTop issues
#4686SRS: Adding Media over QUIC (MoQ) protocol3 comments · 2026-07-09#4646Proxy: Add the API to obtain the deployment information of origins and streams from the proxy3 comments · 2026-03-16#4728Oryx: add an option to strip H.264 SEI from uploaded MP4 sources2 comments · 2026-08-20#4798Simultaneous transmit stops while on intercom1 comments · 2026-11-11#4796WebRTC (ICE-lite): send address switches on every STUN binding request, causing ~15 s of choppy playback for multi-homed WHEP players1 comments · 2026-11-02#4801SRS8+WHIP → WHEP+AV1, all predicted frames are lost, leaving only the keyframes.0 comments · 2026-11-15#4777SRT: srt_to_rtmp logs a warning for every TS message of an unsupported audio codec (MP2 and others)0 comments · 2026-10-17#4776SRT: srt_to_rtmp interleaves all AAC tracks of a multi-audio MPEG-TS into one RTMP audio stream0 comments · 2026-10-17
Latest release
Release v6.0-r3 v6.0-r3 2026-10-31If you would like to support SRS, please consider contributing to our OpenCollective. 9f6d88164c8608d80ac41264998e80b8076d5e43 Release v6.0-r3, 6.0 release3, v6.0.195, 172562 lines. Co-Authored-By: Claude Opus 5.5 Resource Source: 5494b95ec3e883668652638bc09e1cca srs-server-6.0-r3.tar.gz Binary: bae979970ce8b84d2ba9130865583fdb SRS-CentOS7-x86_64-6.0-r3.zip Resource Mirror: gitee.com Source: 5494b95ec3e883668652638bc09e1cca srs-server-6.0-r3.tar.gz Binary: bae979970ce8b84d2ba9130865583fdb SRS-CentOS7-x86_64-6.0-r3.zip Docker docker pull ossrs/srs:6 docker pull o