srs README

The project's README from github.com/ossrs/srs. As one markdown file: README.md.

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. Supported codecs include H.264, H.265, AV1, VP9, AAC, Opus, and G.711. See the complete list of features.

SRS Overview

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:

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

Tips: If you're in China, use this image registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6 for faster speed.

Open http://localhost:8080/ to verify, and then stream using the following FFmpeg command:

ffmpeg -re -i ./doc/source.flv -c copy -f flv -y rtmp://localhost/live/livestream

Alternatively, stream by OBS using the following configuration:

Play the following streams using media players:

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:

A huge THANK YOU goes out to:

We're really thankful to everyone in the community for helping us find bugs and improve the project. To stay in touch and keep helping our community, please check out this guide.

Of course, financial support is very important to us, so we can build the website and use AI tools to maintain the community. Please visit OpenCollective to become a backer or sponsor.

LICENSE

SRS is licenced under MIT, and some third-party libraries are distributed under their licenses.

Releases

Features

Please read FEATURES.

Changelog

Please read CHANGELOG.

Performance

Please read PERFORMANCE.

Architecture

Please read ARCHITECTURE.

Ports

Please read PORTS.

APIs

Please read APIS.

Mirrors

Please read MIRRORS.

Dockers

Please read DOCKERS.

srs (ossrs/srs)

Searching Database…

29.4K ·GitHub
Что это такое?SRS (Simple Realtime Server) — это простой и высокопроизводительный сервер реального времени с поддержкой ИИ для прямых трансляций: RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH и GB28181, с кодеками от H.264 до AV1, VP9, AAC, Opus и G.711.
Это облачный сервис или мне нужно запускать его самому?Это self-hosted решение, а не облачный сервис: SRS — сервер с открытым кодом, который вы запускаете на своей машине (рекомендуемый способ — Docker), и все ваши потоки идут только через ваш собственный сервер.
Как его запустить?Запустите Docker-образ ossrs/srs:6 — в Китае скачивайте registry.cn-hangzhou.aliyuncs.com/ossrs/srs:6 для большей скорости — затем отправьте тестовый поток через FFmpeg или OBS на rtmp://localhost/live с ключом потока livestream.
Что мне нужно, чтобы реально транслировать и смотреть видео?Для самого сервера достаточно Docker. Чтобы публиковать поток, подойдёт любой RTMP-источник, например FFmpeg или OBS; для просмотра — VLC или веб-страница srs-player на HTML5, плагины не нужны.
Он работает на Windows или только на Linux?Сборки под Windows нет: в README указаны Linux и macOS на процессорах x86_64, ARMv7, AArch64 (включая Apple M1), RISC-V, LoongArch и MIPS.
Такие серверы часто под GPL — что я могу делать с кодом SRS?Лицензия MIT, так что коммерческое использование, изменение и запуск на своём сервере ничем не ограничены. Нюанс: некоторые входящие в комплект сторонние библиотеки распространяются под своими собственными лицензиями.
Что ещё он умеет, кроме раздачи потоков?Он конвертирует RTMP в WebRTC и обратно, а в документации описаны кластеризация для масштабирования, HTTP API для управления, запись DVR и перекодирование.
Что на самом деле означает «с поддержкой ИИ»?SRS публикует wiki под названием AI Agent с рекомендациями по использованию ИИ-ассистентов для понимания и сопровождения вашего развёртывания SRS — README рекомендует работать именно так.
Это зрелый проект или чей-то эксперимент на выходные?Зрелый: создан в октябре 2013 года, около 29 тысяч звёзд на GitHub, релизы выходят стабильно — в августе 2026 года вышли и тег v6.0-r1, и dev-линия v7.0.
Creator
ossrs
Size
260.5 MB
Stars
29.4K
Age
11y
Commits · 90 Days