# 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.

Repository: https://github.com/ossrs/srs
Canonical: https://ross.abutalabs.com/products/srs
Homepage: https://ossrs.io
Language: C++
License: MIT
License Family: permissive
Topics: rtmp, live-streaming, live, media-server, hls, webrtc, srt, low-latency, video-conferencing, video, streaming, c-plus-plus, server-side, multimedia, audio, video-streaming, prometheus-exporter, hevc, dash, ai-driven
Last push: 2026-08-26T15:30:55+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 4144, "days_push": 7, "days_rel": 21, "gap_med": 30, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 29169, forks 5685 (observed 2026-08-28T04:11:53.139893+00:00)

## What it is
SRS (Simple Realtime Server) is a high-performance, open-source real-time media server written in C++ that supports RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181 protocols. It acts as a streaming gateway converting between protocols, with features like origin/edge clustering, DVR recording, and Prometheus telemetry, deployable via Docker on Linux and macOS across many CPU architectures.

## Use cases
- run a self-hosted live streaming server
- convert RTMP streams to WebRTC for low-latency playback
- build a video chat application with WebRTC
- stream from OBS to a browser with low latency
- set up an origin/edge CDN cluster for live streams
- record live streams to files or S3 storage
- serve HLS and MPEG-DASH segmented live streams
- ingest SRT broadcasts and redistribute via RTMP or HLS

## When to choose
- you need a single high-performance server supporting many streaming protocols (RTMP, WebRTC, HLS, SRT, DASH)
- you want protocol conversion between RTMP, SRT, and WebRTC
- you need low-latency streaming with OBS WHIP/WHEP
- you want cloud-native deployment with Docker, Kubernetes, and Prometheus telemetry
- you need origin/edge clustering and stream disaster recovery

## When to avoid
- you need VoD/on-demand file distribution at scale - use NGINX or a CDN for HTTP file delivery
- you need a Windows-native server - SRS supports Linux and macOS only
- you need heavy transcoding or video processing pipelines - pair it with FFmpeg or dedicated tools
- you want a turnkey hosted platform with a GUI - consider the related Oryx product instead

## Facets
- artifact type: service
- maturity: stable
- function: http-server, streaming, video-processing, audio-processing, monitoring, webhook, self-hosted
- domain: media, self-hosted, web-development, developer-tools
- platform: self-hosted, cpp, cross-platform
- tags: rtmp, webrtc, hls, srt, mpeg-dash, http-flv, gb28181, live-streaming, media-server, low-latency, whip, whep, origin-cluster, prometheus-exporter, hevc, av1, video-conferencing, video, audio, real-time, linux, macos, docker, web-server

## Member repositories
- ossrs/srs (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.139893+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:53:09.214457+00:00, confidence not recorded.
  - readme: https://github.com/ossrs/srs (fetched 2026-08-28T04:11:53.139893+00:00, sha 4bb418ead7b8)
  - homepage: https://ossrs.io (fetched 2026-08-29T07:50:24.256511+00:00, sha 3396de3c165c)
  - site_page: https://ossrs.io/lts/en-us/docs/v6/doc/getting-started (fetched 2026-08-29T07:50:24.265530+00:00, sha 36a26fd01d87)
  - site_page: https://ossrs.io/lts/en-us/docs/v6/tutorial/srs-server (fetched 2026-08-29T07:50:24.268832+00:00, sha 9640381ce850)
  - site_page: https://ossrs.io/lts/en-us/about (fetched 2026-08-29T07:50:24.277416+00:00, sha a10519af1470)
  - site_page: https://ossrs.io/lts/en-us/docs/v6/tools/utility (fetched 2026-08-29T07:50:24.311413+00:00, sha f03987fd3a24)
  - site_page: https://ossrs.io/lts/en-us/docs/v8/tutorial/srs-server (fetched 2026-08-29T07:50:24.326623+00:00, sha 00f51752fbf8)
  - site_page: https://ossrs.io/lts/en-us/docs/v7/tutorial/srs-server (fetched 2026-08-29T07:50:24.353615+00:00, sha 405dcf566163)
  - site_page: https://ossrs.io/lts/en-us/faq (fetched 2026-08-29T07:50:24.271504+00:00, sha 7e7f4a2a4f81)
  - site_page: https://ossrs.io/lts/en-us/faq-oryx (fetched 2026-08-29T07:50:24.274357+00:00, sha 497ea4625349)
- Data as of 2026-08-30T08:39:29.467469+00:00.
