Built something? We create video reels & spotlights for GitHub projects.Promote your project →
ossrs
Home / C++ / srs

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.

C++ ◇ ai-driven MIT
★29.3KSTARS
⑂5.7KFORKS
!4ISSUES
🏆#450GLOBAL RANK
🔥2DAYS TRENDING
🚀
Maintainer Growth Kit for srs

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for ossrs/srs
CSV
⭐ VIRAL README KIT

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

ossrs/srs Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/ossrs/srs.svg?theme=dark)](https://githubrepo.cloud/repo/ossrs/srs?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Shields Badges Shields.io Style

Compact Shields-style badges for your README header. Shows real-time stars and global ranking.

Featured badge Stars badge Rank badge
markdown (badge trio)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/ossrs/srs.svg?metric=featured)](https://githubrepo.cloud/repo/ossrs/srs?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/ossrs/srs.svg?metric=stars)](https://githubrepo.cloud/repo/ossrs/srs?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/ossrs/srs.svg?metric=rank)](https://githubrepo.cloud/repo/ossrs/srs?utm_source=readme_badge)

Momentum

+733

STARS · LAST 30 DAYS

24

PER DAY

#25

MOST-STARRED C++

Window7 days30 days90 days
Stars gained+168+733+2.2K
Per day242424
Forks gained+28+114+285

srs gained 733 stars in the last 30 days, about 24 a day, and now has 29.3K. It is about 11 years old and has averaged roughly 2.7K stars a year. It ranks #25 among C++ repositories and #450 across all languages on GitHubRepo.

Trending Record

srs has maintained a continuous presence across global trending indexes, peaking at #3195. Below is the 30-day activity profile:

💡 Overview

srs is an open-source project written in C++: 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.

Engineered for speed, consistency, and developer ease, it solves common hurdles in ai-driven, audio, c-plus-plus. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in C++ for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

C++20 compliant compiler (GCC 11+, Clang 13+, MSVC)

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

srs coordinates its core functionality through a modular C++ pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Autonomous AI Agents

Orchestrate intelligent workflows and tool-calling routines with srs.

Model Inference & Prompting

Integrate fast, local or cloud-hosted generative AI models directly into production code.

Context Memory & RAG

Augment language models with dynamic vector retrieval and structured project memory.

Developer Productivity

Automate repetitive engineering tasks, code generation, and test creation using AI agents.

🚀 Getting Started

1

Install srs using your package manager: `docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \`

2

Initialize your project workspace or configuration file for srs.

3

Import srs into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `srs --help` to verify successful setup.

👍 Strengths

Active community backing with 29,320 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in C++ for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with C++ and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

T
tensorflow/tensorflow ★ 200.7K C++

An Open Source Machine Learning Framework for Everyone

Compare ↗
L
ggml-org/llama.cpp ★ 130.4K C++

LLM inference in C/C++

Compare ↗
R
react/react-native ★ 126.8K C++

A framework for building native applications using React

Compare ↗
E
electron/electron ★ 123.4K C++

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with C++, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

ossrs/srs is currently ranked #450 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#445 chroma-core/chroma Rust ★ 29.4K Compare ↗
#446 karakeep-app/karakeep TypeScript ★ 29.4K Compare ↗
#447 nrwl/nx TypeScript ★ 29.4K Compare ↗
#448 JunkFood02/Seal Kotlin ★ 29.4K Compare ↗
#449 deskflow/deskflow C++ ★ 29.3K Compare ↗
#450 ossrs/srs This Project C++ ★ 29.3K
#451 actualbudget/actual TypeScript ★ 29.3K Compare ↗
#452 alibaba/spring-cloud-alibaba Java ★ 29.2K Compare ↗
#453 authelia/authelia Go ★ 29.2K Compare ↗
#454 Anuken/Mindustry Java ★ 29.2K Compare ↗
#455 rohitg00/agentmemory TypeScript ★ 29.1K Compare ↗

Frequently Asked Questions

What does srs do? +

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.

What language is srs written in? +

The primary language is C++. Topics include: ai-driven, audio, c-plus-plus, dash, hevc.

Is srs actively maintained? +

Yes, the last recorded push was on Oct 6, 2026 with 4 open issues being tracked.

How many stars does srs have? +

srs has 29,320 stars and 5,699 forks on GitHub.

How does srs rank among GitHub repositories? +

With 29,320 stars, ossrs/srs is ranked #450 globally across all repositories tracked on GitHubRepo and #25 among C++ projects.

What license is srs distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.