srs v6.0-r3

v6.0-r3

Release v6.0-r3

Changed 6
  • RTMP to RTMP CPU usage decreased by about 6.5 percent compared with v6.0-r2 in the benchmark, with a 95 percent confidence interval of -7.5 to -5.5 percent
  • RTMP to HTTP-FLV CPU usage decreased by about 4.4 percent compared with v6.0-r2 in the benchmark
  • RTMP to HTTP-TS CPU usage decreased by about 5.0 percent compared with v6.0-r2 in the benchmark
  • SRT to RTMP CPU usage decreased by about 2.8 percent compared with v6.0-r2 in the benchmark
  • WHIP publisher CPU usage increased by about 5.9 percent compared with v6.0-r2 in the benchmark, on a low base of about 20 percent
  • RTMP to WHEP, SRT to WHEP, RTMP publishers and many-streams scenarios CPU usage increased by about 1.4 to 1.8 percent compared with v6.0-r2 in the benchmark

From srs

If you would like to support SRS, please consider contributing to our OpenCollective.

9f6d88164c8608d80ac41264998e80b8076d5e43 Release v6.0-r3, 6.0 release3, v6.0.195, 172562 lines.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Resource
Resource Mirror: gitee.com
Docker
Docker Mirror: aliyun.com
Doc: ossrs.io
Doc: ossrs.net
Performance: v6.0-r3 vs v6.0-r2

Each scenario is an A/B run: both builds at once in Docker, each SRS on its own vCPU, the same load and the same flat CBR source (H.264 200 kbps + AAC 32 kbps, 25 fps). SRS CPU is averaged over 180 s and compared second by second. Negative means v6.0-r3 uses less CPU. Changes within about ±1 point are noise.

ScenarioClientsv6.0-r2 CPUv6.0-r3 CPUChange (95% CI)
RTMP → RTMP11,52042.7%39.9%−6.5% (−7.5% to −5.5%)¹
RTMP → HTTP-FLV11,52071.5%68.3%−4.4% (−4.8% to −4.1%)
RTMP → HTTP-TS2,88057.1%54.3%−5.0% (−5.9% to −4.0%)
RTMP → HLS5,76013.1%13.3%+1.5% (−4.2% to +7.2%)
RTMP → WHEP1,15261.8%62.9%+1.8% (+1.3% to +2.3%)
WHIP → RTMP11,52044.3%43.8%−1.0% (−2.2% to +0.2%)
WHIP → HTTP-FLV11,52066.8%66.3%−0.7% (−1.1% to −0.3%)
SRT → SRT57640.8%40.7%−0.3% (−0.6% to 0.0%)
SRT → RTMP5,76016.5%16.1%−2.8% (−5.3% to −0.3%)
SRT → WHEP1,15261.5%62.6%+1.8% (+1.4% to +2.3%)
RTMP publishers1,15284.6%85.8%+1.5% (+0.7% to +2.2%)
WHIP publishers40019.5%20.6%+5.9% (+5.4% to +6.5%)
Many streams (1 pub + 2 players each)576 streams62.4%63.3%+1.4% (+1.1% to +1.7%)

¹ Some v6.0-r2 players failed while connecting, in the first seconds of the 30 s settle; every player was healthy in the measured window.

SRS 6 has no RTSP output. RTMP → DASH and WHIP → WHEP are omitted: no 6.0 build served DASH media to the current load client, and at 1,800 WHEP players both 6.0 builds fell more than 2 s behind at under 50% CPU, so neither has a like-for-like comparison.

  • Faster: RTMP → RTMP (−6.5%), HTTP-TS (−5.0%), HTTP-FLV (−4.4%) and SRT → RTMP (−2.8%).
  • Slower: WHIP publishers +5.9% on a low 20% base; RTMP → WHEP, SRT → WHEP, RTMP publishers and many streams up 1.4–1.8%.
  • No real change: HLS, WHIP → RTMP, WHIP → HTTP-FLV and SRT → SRT.

Setup: Mac mini M4 (Mac16,10), Docker 29.8.2, Linux 7.0.14 VM with 8 GB. These numbers compare the two versions on one machine; they are not the capacity of a production server.

View original

Upgraded? How did it go?

Discussion