{"id":13459423,"url":"https://github.com/ossrs/srs","last_synced_at":"2025-05-13T11:09:53.070Z","repository":{"id":31216491,"uuid":"34777562","full_name":"ossrs/srs","owner":"ossrs","description":"SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.","archived":false,"fork":false,"pushed_at":"2025-05-13T06:55:52.000Z","size":254955,"stargazers_count":26910,"open_issues_count":256,"forks_count":5502,"subscribers_count":841,"default_branch":"develop","last_synced_at":"2025-05-13T11:09:30.250Z","etag":null,"topics":["audio","c","c-plus-plus","dash","hevc","hls","live","live-streaming","low-latency","media-server","multimedia","prometheus-exporter","rtmp","server-side","srt","streaming","video","video-conferencing","video-streaming","webrtc"],"latest_commit_sha":null,"homepage":"https://ossrs.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ossrs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"srs-server","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-04-29T06:59:32.000Z","updated_at":"2025-05-13T06:55:57.000Z","dependencies_parsed_at":"2023-09-21T18:34:30.551Z","dependency_job_id":"6fc317ee-87f4-4644-9705-2b4c706ebedb","html_url":"https://github.com/ossrs/srs","commit_stats":{"total_commits":7352,"total_committers":141,"mean_commits":"52.141843971631204","dds":0.1332970620239391,"last_synced_commit":"282d94d7bbfa127868caab401bb7616e26d4c54d"},"previous_names":[],"tags_count":179,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossrs","download_url":"https://codeload.github.com/ossrs/srs/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929367,"owners_count":21985802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","c","c-plus-plus","dash","hevc","hls","live","live-streaming","low-latency","media-server","multimedia","prometheus-exporter","rtmp","server-side","srt","streaming","video","video-conferencing","video-streaming","webrtc"],"created_at":"2024-07-31T09:01:21.590Z","updated_at":"2025-05-13T11:09:51.416Z","avatar_url":"https://github.com/ossrs.png","language":"C++","readme":"# SRS(Simple Realtime Server)\n\n![](http://ossrs.net/gif/v1/sls.gif?site=github.com\u0026path=/srs/develop)\n[![](https://github.com/ossrs/srs/actions/workflows/codeql-analysis.yml/badge.svg?branch=develop)](https://github.com/ossrs/srs/actions?query=workflow%3ACodeQL+branch%3Adevelop)\n[![](https://github.com/ossrs/srs/actions/workflows/release.yml/badge.svg)](https://github.com/ossrs/srs/actions/workflows/release.yml?query=workflow%3ARelease)\n[![](https://github.com/ossrs/srs/actions/workflows/test.yml/badge.svg?branch=develop)](https://github.com/ossrs/srs/actions?query=workflow%3ATest+branch%3Adevelop)\n[![](https://codecov.io/gh/ossrs/srs/branch/develop/graph/badge.svg?token=Zx2LhdtA39)](https://app.codecov.io/gh/ossrs/srs/tree/develop)\n[![](https://ossrs.net/wiki/images/wechat-badge4.svg)](https://ossrs.net/lts/zh-cn/contact#discussion)\n[![](https://img.shields.io/twitter/follow/srs_server?style=social)](https://twitter.com/srs_server)\n[![](https://img.shields.io/badge/SRS-YouTube-red)](https://www.youtube.com/@srs_server)\n[![](https://badgen.net/discord/members/yZ4BnPmHAd)](https://discord.gg/yZ4BnPmHAd)\n[![](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fossrs%2Fsrs.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2Fossrs%2Fsrs?ref=badge_small)\n[![](https://badgen.net/badge/srs/stackoverflow/orange?icon=terminal)](https://stackoverflow.com/questions/tagged/simple-realtime-server)\n[![](https://opencollective.com/srs-server/tiers/badge.svg)](https://opencollective.com/srs-server)\n[![](https://img.shields.io/docker/pulls/ossrs/srs)](https://hub.docker.com/r/ossrs/srs/tags)\n\nSRS/6.0 ([Hang](https://ossrs.io/lts/en-us/product#release-60)) is a simple, high-efficiency, and real-time video server, \nsupporting RTMP/WebRTC/HLS/HTTP-FLV/SRT/MPEG-DASH/GB28181, Linux/Windows/macOS, X86_64/ARMv7/AARCH64/M1/RISCV/LOONGARCH/MIPS, \nand essential [features](trunk/doc/Features.md#features).\n\n[![SRS Overview](https://ossrs.net/wiki/images/SRS-SingleNode-4.0-sd.png?v=114)](https://ossrs.net/wiki/images/SRS-SingleNode-4.0-hd.png)\n\n\u003e Note: For more details on the single-node architecture for SRS, please visit the following [link](https://www.figma.com/file/333POxVznQ8Wz1Rxlppn36/SRS-4.0-Server-Arch).\n\nSRS is licenced under [MIT](https://github.com/ossrs/srs/blob/develop/LICENSE), and some third-party libraries are \ndistributed under their [licenses](https://ossrs.io/lts/en-us/license).\n\n\u003ca name=\"product\"\u003e\u003c/a\u003e \u003ca name=\"usage-docker\"\u003e\u003c/a\u003e\n\n## Usage\n\nPlease check the Getting Started guide in [English](https://ossrs.io/lts/en-us/docs/v5/doc/getting-started) \nor [Chinese](https://ossrs.net/lts/zh-cn/docs/v5/doc/getting-started). We highly recommend using SRS with docker:\n\n```bash\ndocker run --rm -it -p 1935:1935 -p 1985:1985 -p 8080:8080 \\\n    -p 8000:8000/udp -p 10080:10080/udp ossrs/srs:5\n```\n\n\u003e Tips: If you're in China, use this image `registry.cn-hangzhou.aliyuncs.com/ossrs/srs:5` for faster speed.\n\nOpen [http://localhost:8080/](http://localhost:8080/) to verify, and then stream using the following\n[FFmpeg](https://ffmpeg.org/download.html) command:\n\n```bash\nffmpeg -re -i ./doc/source.flv -c copy -f flv -y rtmp://localhost/live/livestream\n```\n\nAlternatively, stream by [OBS](https://obsproject.com/download) using the following configuration:\n\n* Service: `Custom`\n* Server: `rtmp://localhost/live`\n* Stream Key: `livestream`\n\nPlay the following streams using media players:\n\n* To play an RTMP stream with URL `rtmp://localhost/live/livestream` on [VLC player](https://www.videolan.org/), open the player, go to Media \u003e Open Network Stream, enter the URL and click Play.\n* You can play HTTP-FLV stream URL [http://localhost:8080/live/livestream.flv](http://localhost:8080/players/srs_player.html?autostart=true\u0026stream=livestream.flv) on a webpage using the srs-player, an HTML5-based player.\n* Use srs-player for playing HLS stream with URL [http://localhost:8080/live/livestream.m3u8](http://localhost:8080/players/srs_player.html?autostart=true\u0026stream=livestream.m3u8).\n\nIf you'd like to use WebRTC, convert RTMP to WebRTC, or convert WebRTC to RTMP, please check out \nthe wiki documentation in either [English](https://ossrs.io/lts/en-us/docs/v5/doc/getting-started#webrtc) or \n[Chinese](https://ossrs.net/lts/zh-cn/docs/v5/doc/getting-started#webrtc).\n\nTo learn more about RTMP, HLS, HTTP-FLV, SRT, MPEG-DASH, WebRTC protocols, clustering, \nHTTP API, DVR, and transcoding, please check the documents in [English](https://ossrs.io) \nor [Chinese](https://ossrs.net).\n\n## Sponsor\n\nWould you like additional assistance from us? By becoming a sponsor or backer of SRS, we can provide you \nwith the support you need:\n\n* Backer: $5 per month, online text chat support through Discord.\n* Sponsor: $100 per month, online text chat plus online meeting support.\n\nPlease visit [OpenCollective](https://opencollective.com/srs-server) to become a backer or sponsor, and send \nus a direct message on [Discord](https://discord.gg/yZ4BnPmHAd). We are currently providing support to the \ndevelopers listed below:\n\n[![](https://opencollective.com/srs-server/backers.svg?width=800\u0026button=false)](https://opencollective.com/srs-server)\n\nAt SRS, our goal is to create a free, open-source community that helps developers all over the world \nbuild high-quality streaming and RTC platforms for their businesses.\n\n\u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n## Contributing\n\nThe [authors](trunk/AUTHORS.md#authors), [TOC(Technical Oversight Committee)](trunk/AUTHORS.md#toc), \nand [contributors](trunk/AUTHORS.md#contributors) are listed [here](trunk/AUTHORS.md). The TOC members \nwho made significant contributions and maintained parts of SRS are listed below:\n\n* [Winlin](https://github.com/winlinvip): Founder of the project, focusing on ST and Issues/PR. Responsible for architecture and maintenance.\n* [ZhaoWenjie](https://github.com/wenjiegit): One of the earliest contributors, focusing on HDS and Windows. Has expertise in client technology.\n* [ShiWei](https://github.com/runner365): Specializes in SRT and H.265, maintaining SRT and FLV patches for FFmpeg. An expert in codecs and FFmpeg.\n* [XiaoZhihong](https://github.com/xiaozhihong): Concentrates on WebRTC/QUIC and SRT, with expertise in network QoS. Contributed to ARM on ST and was the original contributor for WebRTC.\n* [WuPengqiang](https://github.com/Bepartofyou): Focused on H.265, initially contributed to the FFmpeg module in SRS for transcoding AAC with OPUS for WebRTC.\n* [XiaLixin](https://github.com/xialixin): Specializes in GB28181, with expertise in live streaming and WebRTC.\n* [LiPeng](https://github.com/lipeng19811218): Concentrates on WebRTC and contributes to memory management and smart pointers.\n* [ChenGuanghua](https://github.com/chen-guanghua): Focused on WebRTC/QoS and introduced the Asan toolchain to SRS.\n* [ChenHaibo](https://github.com/duiniuluantanqin): Specializes in GB28181 and HTTP API, contributing to patches for FFmpeg with WHIP.\n* [ZhangJunqin](https://github.com/chundonglinlin): Focused on H.265, Prometheus Exporter, and API module.\n\nA huge `THANK YOU` goes out to:\n\n* All the [contributors](trunk/AUTHORS.md#contributors) of SRS.\n* All the friends of SRS who gave [big support](https://ossrs.net/lts/zh-cn/product).\n* [Genes](http://sourceforge.net/users/genes), [Mabbott](http://sourceforge.net/users/mabbott), and [Michael Talyanksy](https://github.com/michaeltalyansky) for making and sharing [State Threads](https://github.com/ossrs/state-threads/tree/srs).\n\nWe're really thankful to everyone in the community for helping us find bugs and improve the project. \nTo stay in touch and keep helping our community, please check out this [guide](https://github.com/ossrs/srs/contribute).\n\n## LICENSE\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fossrs%2Fsrs.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2Fossrs%2Fsrs?ref=badge_small)\n\nSRS is licenced under [MIT](https://github.com/ossrs/srs/blob/develop/LICENSE), and some third-party libraries are \ndistributed under their [licenses](https://ossrs.io/lts/en-us/license).\n\n[![](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fossrs%2Fsrs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fossrs%2Fsrs?ref=badge_large)\n\n## Releases\n\n* 2025-05-03, [Release v6.0-a2](https://github.com/ossrs/srs/releases/tag/v6.0-a2), v6.0-a2, 6.0 alpha2, v6.0.165, 169712 lines.\n* 2024-09-01, [Release v6.0-a1](https://github.com/ossrs/srs/releases/tag/v6.0-a1), v6.0-a1, 6.0 alpha1, v6.0.155, 169636 lines.\n* 2024-07-27, [Release v6.0-a0](https://github.com/ossrs/srs/releases/tag/v6.0-a0), v6.0-a0, 6.0 alpha0, v6.0.145, 169259 lines.\n* 2024-07-04, [Release v6.0-d6](https://github.com/ossrs/srs/releases/tag/v6.0-d6), v6.0-d6, 6.0 dev6, v6.0.134, 168904 lines.\n* 2024-06-15, [Release v6.0-d5](https://github.com/ossrs/srs/releases/tag/v6.0-d5), v6.0-d5, 6.0 dev5, v6.0.129, 168454 lines.\n* 2024-02-15, [Release v6.0-d4](https://github.com/ossrs/srs/releases/tag/v6.0-d4), v6.0-d4, 6.0 dev4, v6.0.113, 167695 lines.\n* 2023-11-19, [Release v6.0-d3](https://github.com/ossrs/srs/releases/tag/v6.0-d3), v6.0-d3, 6.0 dev3, v6.0.101, 167560 lines.\n* 2023-09-28, [Release v6.0-d2](https://github.com/ossrs/srs/releases/tag/v6.0-d2), v6.0-d2, 6.0 dev2, v6.0.85, 167509 lines.\n* 2023-08-31, [Release v6.0-d1](https://github.com/ossrs/srs/releases/tag/v6.0-d1), v6.0-d1, 6.0 dev1, v6.0.72, 167135 lines.\n* 2023-07-09, [Release v6.0-d0](https://github.com/ossrs/srs/releases/tag/v6.0-d0), v6.0-d0, 6.0 dev0, v6.0.59, 166739 lines.\n* 2024-06-15, [Release v5.0-r3](https://github.com/ossrs/srs/releases/tag/v5.0-r3), v5.0-r3, 5.0 release3, v5.0.213, 163585 lines.\n* 2024-04-03, [Release v5.0-r2](https://github.com/ossrs/srs/releases/tag/v5.0-r2), v5.0-r2, 5.0 release2, v5.0.210, 163515 lines.\n* 2024-02-15, [Release v5.0-r1](https://github.com/ossrs/srs/releases/tag/v5.0-r1), v5.0-r1, 5.0 release1, v5.0.208, 163441 lines.\n* 2023-12-30, [Release v5.0-r0](https://github.com/ossrs/srs/releases/tag/v5.0-r0), v5.0-r0, 5.0 release0, v5.0.205, 163363 lines.\n* 2023-11-19, [Release v5.0-b7](https://github.com/ossrs/srs/releases/tag/v5.0-b7), v5.0-b7, 5.0 beta7, v5.0.200, 163305 lines.\n* 2023-10-25, [Release v5.0-b6](https://github.com/ossrs/srs/releases/tag/v5.0-b6), v5.0-b6, 5.0 beta6, v5.0.195, 163303 lines.\n* 2023-09-28, [Release v5.0-b5](https://github.com/ossrs/srs/releases/tag/v5.0-b5), v5.0-b5, 5.0 beta5, v5.0.185, 163254 lines.\n* 2023-08-31, [Release v5.0-b4](https://github.com/ossrs/srs/releases/tag/v5.0-b4), v5.0-b4, 5.0 beta4, v5.0.176, 162919 lines.\n* 2023-08-02, [Release v5.0-b3](https://github.com/ossrs/srs/releases/tag/v5.0-b3), v5.0-b3, 5.0 beta3, v5.0.170, 162704 lines.\n* 2023-07-09, [Release v5.0-b2](https://github.com/ossrs/srs/releases/tag/v5.0-b2), v5.0-b2, 5.0 beta2, v5.0.166, 162520 lines.\n* 2023-06-11, [Release v5.0-b1](https://github.com/ossrs/srs/releases/tag/v5.0-b1), v5.0-b1, 5.0 beta1, v5.0.157, 162494 lines.\n* 2023-05-14, [Release v5.0-b0](https://github.com/ossrs/srs/releases/tag/v5.0-b0), v5.0-b0, 5.0 beta0, v5.0.155, 162600 lines.\n* 2023-03-23, [Release v5.0-a5](https://github.com/ossrs/srs/releases/tag/v5.0-a5), v5.0-a5, 5.0 alpha5, v5.0.148, 162066 lines.\n* 2023-02-12, [Release v5.0-a4](https://github.com/ossrs/srs/releases/tag/v5.0-a4), v5.0-a4, 5.0 alpha4, v5.0.141, 161897 lines.\n* 2023-01-02, [Release v5.0-a3](https://github.com/ossrs/srs/releases/tag/v5.0-a3), v5.0-a3, 5.0 alpha3, v5.0.128, 161327 lines.\n* 2022-12-18, [Release v5.0-a2](https://github.com/ossrs/srs/releases/tag/v5.0-a2), v5.0-a2, 5.0 alpha2, v5.0.112, 161233 lines.\n* 2022-12-01, [Release v5.0-a1](https://github.com/ossrs/srs/releases/tag/v5.0-a1), v5.0-a1, 5.0 alpha1, v5.0.100, 160817 lines.\n* 2022-11-25, [Release v5.0-a0](https://github.com/ossrs/srs/releases/tag/v5.0-a0), v5.0-a0, 5.0 alpha0, v5.0.98, 159813 lines.\n* 2022-11-22, Release [v4.0-r4](https://github.com/ossrs/srs/releases/tag/v4.0-r4), v4.0-r4, 4.0 release4, v4.0.268, 145482 lines.\n* 2022-09-16, Release [v4.0-r3](https://github.com/ossrs/srs/releases/tag/v4.0-r3), v4.0-r3, 4.0 release3, v4.0.265, 145328 lines.\n* 2022-08-24, Release [v4.0-r2](https://github.com/ossrs/srs/releases/tag/v4.0-r2), v4.0-r2, 4.0 release2, v4.0.257, 144890 lines.\n* 2022-06-29, Release [v4.0-r1](https://github.com/ossrs/srs/releases/tag/v4.0-r1), v4.0-r1, 4.0 release1, v4.0.253, 144680 lines.\n* 2022-06-11, Release [v4.0-r0](https://github.com/ossrs/srs/releases/tag/v4.0-r0), v4.0-r0, 4.0 release0, v4.0.252, 144680 lines.\n* 2020-06-27, [Release v3.0-r0](https://github.com/ossrs/srs/releases/tag/v3.0-r0), 3.0 release0, 3.0.141, 122674 lines.\n* 2020-02-02, [Release v3.0-b0](https://github.com/ossrs/srs/releases/tag/v3.0-b0), 3.0 beta0, 3.0.112, 121709 lines.\n* 2019-10-04, [Release v3.0-a0](https://github.com/ossrs/srs/releases/tag/v3.0-a0), 3.0 alpha0, 3.0.56, 107946 lines.\n* 2017-03-03, [Release v2.0-r0](https://github.com/ossrs/srs/releases/tag/v2.0-r0), 2.0 release0, 2.0.234, 86373 lines.\n* 2016-08-06, [Release v2.0-b0](https://github.com/ossrs/srs/releases/tag/v2.0-b0), 2.0 beta0, 2.0.210, 89704 lines.\n* 2015-08-23, [Release v2.0-a0](https://github.com/ossrs/srs/releases/tag/v2.0-a0), 2.0 alpha0, 2.0.185, 89022 lines.\n* 2014-12-05, [Release v1.0-r0](https://github.com/ossrs/srs/releases/tag/v1.0-r0), all bug fixed, 1.0.10, 59391 lines.\n* 2014-10-09, [Release v0.9.8](https://github.com/ossrs/srs/releases/tag/v0.9.8), all bug fixed, 1.0.0, 59316 lines.\n* 2014-04-07, [Release v0.9.1](https://github.com/ossrs/srs/releases/tag/v0.9.1), live streaming. 30000 lines.\n* 2013-10-23, [Release v0.1.0](https://github.com/ossrs/srs/releases/tag/v0.1.0), rtmp. 8287 lines.\n* 2013-10-17, Created.\n\n## Features\n\nPlease read [FEATURES](trunk/doc/Features.md#features).\n\n\u003ca name=\"history\"\u003e\u003c/a\u003e \u003ca name=\"change-logs\"\u003e\u003c/a\u003e\n## Changelog\n\nPlease read [CHANGELOG](trunk/doc/CHANGELOG.md#changelog).\n\n## Performance\n\nPlease read [PERFORMANCE](trunk/doc/PERFORMANCE.md#performance).\n\n## Architecture\n\nPlease read [ARCHITECTURE](trunk/doc/Architecture.md#architecture).\n\n## Ports\n\nPlease read [PORTS](trunk/doc/Resources.md#ports).\n\n## APIs\n\nPlease read [APIS](trunk/doc/Resources.md#apis).\n\n## Mirrors\n\nPlease read [MIRRORS](trunk/doc/Resources.md#mirrors).\n\n## Dockers\n\nPlease read [DOCKERS](trunk/doc/Dockers.md).\n\nBeijing, 2013.10\u003cbr/\u003e\nWinlin\n\n","funding_links":["https://opencollective.com/srs-server"],"categories":["C++","Install from Source","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","Media","This repo contains the list of awesome repo present in github. A tribute to the freely available awesome educational resources.","Streaming Server and Storage","C++ (225)","HarmonyOS","其他_机器视觉","webrtc","Streaming and Live Broadcasting","c-plus-plus","Streaming and Broadcasting"],"sub_categories":["Video and Audio Processing","SRT","Windows Manager","网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossrs%2Fsrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsrs/lists"}