Skip to content

SRS

Self-hosted real-time media server for RTMP, WebRTC, HLS and SRT live streaming

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

68

Health

Active

Overview

Stars

29,451

Last commit

today

Nov 2026

Repository age

11 years

since Apr 2015

Latest version

v6.0-r3

Oct 2026

Contributors

–

7 active in 90 days

Releases

5

last 12 months

Docker pulls

2.2M

ossrs/srs

Language

C++

SRS is a media server written in C++ that receives live streams and delivers them in several protocols. It supports RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH and GB28181. Codecs include H.264, H.265, AV1, VP9, AAC, Opus and G.711.

You run it on Linux or macOS, with builds for x86_64, ARMv7, AArch64, Apple M1, RISC-V, LoongArch and MIPS. Windows x64 is supported natively. A Docker image is the usual way to start. You publish with FFmpeg or OBS and play back in VLC or a browser player over HTTP-FLV or HLS. It can also convert RTMP to WebRTC and the other way around. Clustering, an HTTP API, DVR recording and transcoding are covered in its documentation.

The project began in 2015 and uses the MIT license. It suits teams that want to run their own live streaming backend instead of paying for a hosted streaming service.

Who it's for

Developers building live video features into an app

One server accepts RTMP or WebRTC input and serves HLS, HTTP-FLV or WebRTC output, with an HTTP API for control.

Skip if: You want a hosted service with no servers to maintain.

Streamers and small broadcasters using OBS

OBS can publish to it with a custom RTMP server and stream key, and viewers can watch over HLS.

Skip if: You only stream to public platforms and never need your own ingest point.

Teams working with surveillance or SIP-style video feeds

GB28181 support is built in alongside the common web protocols.

Skip if: Your cameras only speak protocols the server does not handle.

The problem it solves

Live video needs a server that ingests streams and converts them into formats browsers and players can use. Hosted streaming services charge for this and keep your streams on their platform. SRS lets you run that pipeline yourself.

Strengths

  • Handles RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH and GB28181
  • Official Docker image with over 2 million pulls
  • Runs on Linux, macOS and native Windows x64 across many CPU architectures
  • MIT license with no copyleft obligations
  • Active development since 2015 with 5 releases in the last year

Trade-offs

  • Much of the documentation is provided in both English and Chinese, so some pages may be easier in one
  • Needs several open ports, including UDP, for a full setup
  • You manage scaling, clustering and monitoring yourself

Self-host SRS

Self-hostable
Yes
Docker image
ossrs/srs

Quick start

docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \
    -p 8000:8000/udp -p 10080:10080/udp ossrs/srs:6

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is SRS free?

Yes. It is released under the MIT license, so you can use and modify it freely.

Can I run it with Docker?

Yes. The project recommends Docker and publishes the ossrs/srs image.

Which platforms does it run on?

Linux and macOS on x86_64, ARM, RISC-V, LoongArch and MIPS, plus native Windows x64.

Which streaming protocols does it support?

RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH and GB28181.

How do I publish a stream to it?

Use FFmpeg or OBS and point them at rtmp://localhost/live with a stream key such as livestream.

Similar tools in Media streaming servers

tunarr

Media streaming servers

Builds live TV channels from your Plex, Jellyfin, Emby or local media for home streaming

2.7k 176 today Thriving Zlib

Restreamer

Media streaming servers

Self-hosted live streaming server that publishes to your site and platforms like YouTube

5.2k 573 6 months ago Dormant Apache-2.0

MediaMTX

Media streaming servers

Single-binary live media server that routes video streams between protocols

21k 2.5k today Thriving MIT

AzuraCast

Media streaming servers

Self-hosted web radio suite for running internet stations from a browser

4.1k 764 4 days ago Active AGPL-3.0

OvenMediaEngine

Media streaming servers

Sub-second latency live streaming server using WebRTC and LLHLS for broadcasters

3.3k 1.1k yesterday Active AGPL-3.0

Snapcast

Media streaming servers

Multiroom audio server and clients that play time-synced sound across many devices

8.1k 563 21 days ago Slowing GPL-3.0