Rocket Streaming Blog

Streaming Audio News and Tips


RSAS Logo Rocket Broadcaster 1.3.27 Released and RSAS Status Update

We're pleased to announce the release of Rocket Broadcaster 1.3.27. Over the last year, we've quietly released several incremental updates with small bugfixes and support for new metadata formats. The cumulative number of changes is now substantial and worth an upgrade for most users.

The changes in Rocket Broadcaster 1.3.27 are:

  • Improved WASAPI compatibility with some soundcards with limited sample formats. This should fix the dreaded "Audio Device Error" with some finicky soundcards.
  • Fixed compatibility issue causing distorted output with some ASIO devices
  • Fixed ASIO input volume control and master monitoring


Other recent features and fixes include:

  • Allow disabling Audio Output and using Input Device as the clock source. (A valid output device is no longer required.)
  • Multiple application instances will now use separate log files.
  • Support for Seamless Takeover with RSAS. Broadcasters can now takeover a stream and boot an existing source.
  • Implemented restarting of System Audio Capture if it fails (useful with Microsoft Remote Desktop)
  • Accessibility improvements. (We provide a VPAT too here.)
  • Improved firewall compatibility with Icecast protocol
  • Fixed iMediaTouch XML metadata setting not loading correctly.
  • Fixed rare issue that could cause metadata updates to fail on some PCs.
  • Fixed Stream Diagnostic with Shoutcast 2 connections


Since our previous major update, we've added support for the following metadata formats:

  • RCS Zetta Lite XML
  • RCS Master Control
  • Dinesat Pro Radio
  • Axel Tech DJ Pro
  • Jazler SOHO
  • Dalet XML


For more information, please see our full list of supported metadata formats or our list of compatible radio automation systems.

Download the Update

Feedback

Lastly, your feedback is what helps drive Rocket Broadcaster development. If you're looking for a missing feature, or have ideas for how we can make Rocket Broadcaster even better, please let us know!

RSAS Status Update

RSAS is still under heavy development and we've quietly released many alphas of the 0.1.21 series, which is now likely to evolve into a proper "1.0" release. This next release will see improved HTTP/1.1 support for serving static files and podcasts, support for preroll and postroll jingles/ads, the option to auto-stop relays, a significant number of bugfixes, and with any luck, some form of HLS support. All of those feature are already complete, but HLS still needs some polish before we can ship it. Stay tuned for RSAS 1.0 news!

RSAS Logo Log4j Vulnerability Status - Not Vulnerable

We have been monitoring the recently discovered Log4j vulnerability (CVE-2021-44228) and have taken action to audit and monitor our infrastructure for potential risks. As creators of streaming audio software and a global streaming audio platform, we wanted to reassure broadcasters about the status of our products:

  • Rocket Broadcaster - Not vulnerable to the Log4j security vulnerability. Rocket Broadcaster and its third party components do not use Java nor Log4j.
  • Rocket Streaming Audio Server (RSAS) - Not vulnerable to the Log4j security vulnerability. Does not use Java.
  • Radio Mast - Not vulnerable to the Log4j security vulnerability. More details here.


For more information about the scope of this Log4j vulnerability and the steps we've taken to assess our infrastructure and keep broadcasters safe, please see our Log4J Vulnerability Update on the Radio Mast blog.

If you have any questions or concerns, please contact support.

Resources for Broadcasters:

RSAS Logo RSAS 0.1.20 Released

We're pleased to announce the release of RSAS 0.1.20! Rocket Streaming Audio Server (RSAS) is a high-performance webserver designed for broadcasting live streaming audio through the web, with low latency and high listener capacity.

This release contains major performance improvements, a new management API, tons of small improvements to existing features, and bugfixes.

➡️ Get RSAS 0.1.20 today from our downloads page.


Wait, what happened to RSAS 0.1.19?

We're skipping it. Late in the development cycle of 0.1.19, we started pursuing a new line of optimizations to boost performance on very large servers with hundreds of thousands of listeners. We started working on these optimizations in a separate branch for 0.1.20 and continued final preparations for the 0.1.19 release. However, our benchmark results for 0.1.20 were so good that we put it through our QA process and quickly started using it in production at Radio Mast. We've excited to share 0.1.20 with you as an even better version of RSAS than we initially planned.

Without further ado, here's what's new in RSAS 0.1.20:

Performance Boost

In this update, our new optimizations have achieved a roughly 2x reduction in CPU usage at high workloads, enabling broadcasters to reach more listeners than ever before on a single server. We've also further reduced the CPU usage for relays. No changes or config tweaks are required, simply upgrade and enjoy.

On our server test rig with a Ryzen 2700 processor (8 cores, 16 threads), RSAS is now able to serve 240,000 concurrent listeners on a 64 kbps MP3 stream. This is on a consumer-class CPU that is already 2 generations old. Importantly, RSAS fully utilizes all available cores and is limited by CPU speed alone.

RSAS /health screenshot with 240,000 listeners RSAS CPU usage in htop with 240,000 listeners on a Ryzen 2700 CPU. RSAS network traffic in nload with 240,000 listeners
RSAS /health screenshot, htop showing CPU utilization, and nload showing network traffic with 240,000 listeners.

In the nload screenshot, RSAS is sending almost 15 Gbps of traffic!

We'll be publishing an updated set of benchmarks with more details soon, so be sure to check back.

Manage API

The new Manage API allows you to perform management actions on individual mounts. Two actions have been implemented thus far, allowing you to force a source to disconnect (kick) or move listeners to a different mount.

Read more about the new Manage API here.

Seamless Takeover

Compatible encoders can now seamless kick and takeover an existing stream when they connect. When connecting to RSAS with Rocket Broadcaster 1.3.22 and up, if a stream mount is already in use, users will be prompted if they want to kick the existing source. This allows broadcasters to seamlessly takeover a stream or switch DJs without any dead air.

Other Small Features:

  • Relay URLs can now be changed dynamically via config reloads. Listeners will get moved to the new URL.
  • Added admin-password config setting from Icecast (currently only used for the Manage API).
  • Added optional <config-version> field to config file format and is exposed in /health. This can help you track whether your new config has been loaded.
  • Added last_config_reload field to /health (UNIX timestamp)
  • Added --test/-t flag for checking config file syntax
  • Added warning if default passwords used (hackme/adminhackme)
  • Prevent blank passwords from being used.
  • Improved Icecast compatibility:
    • Implemented <hidden> mount flag from Icecast, which hides a stream from the emulated Icecast status page and status-json.xsl page.
    • Added <alias> directive, allowing you to remap URL paths.
    • Added the "stream started" timestamp to Icecast status page and to the status-json.xsl.
  • HTTP referer now shows up in the access log.
  • The "referer" header is not supported by all browsers and players, which can make traffic attribution tricky. To make accounting for your traffic sources easier, you can now override this header by setting the "referer" querystring parameter. (eg. /mystream?referer=myapp)
  • Source and Listener Auth Webhooks can now return icecast-resp-status and icecast-resp-reason headers to make RSAS return a custom response when denying a listener or source.
  • HTTP 400 Bad Request template now included.
  • DEBs for Debian 11 now available.
  • CentOS 6 has been deprecated.

Bugfixes:

  • Fixed serving static files on Windows, which prevented the LetsEncrypt wizard from working for some users.
  • Fixed FLAC compatibility with BUTT encoder.
  • Fixed rare relay race condition that could lead to a crash.
  • Fixed HTTP "referer" always being blank in the access log.
  • Fixed a rare crash related to TLS.

What's Next?

RSAS 0.1.21 is planned to come shortly, and will include improved HTTP/1.1 support for serving static audio files on-demand, such as podcasts. It will allow seekable playback of large audio and video (!) files out-of-the-box.

These features will also help round out our HLS implementation, which we're hoping to release as an experimental feature soon.

Audio preroll (aka intro files) is high on our list of priorities and we are planning this for Fall 2021. We're hoping to throw in some experimental features with this too, like the ability to trigger audio insertion mid-stream (mid-roll).

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

Lastly, we would like to thank our dedicated users for all your feedback on our previous releases. Your feedback has helped us make RSAS better for the global broadcasting community. Thank you!

RSAS Logo RSAS 0.1.18 Released

We're pleased to announce the release of RSAS 0.1.18! Rocket Streaming Audio Server (RSAS) is a high-performance webserver designed for broadcasting live streaming audio through the web, with low latency and high listener capacity.

This release adds a couple new features including persistent relays, SNI support for multiple SSL/TLS certificates, as well as major performance optimizations, bugfixes, and more. The update is the culmination of 6 months of development work which included over 18 minor alpha releases that were tested across the globe.

Get RSAS 0.1.18 today from our downloads page.

Persistent Relays

Persistent relays are now the default type of relay. In previous releases, all relays were "on-demand", which meant they only started relaying after the first listener attempted to connect. Persistent relays automatically connect at startup and will continually try to reconnect if the stream ever drops. Since a relay must be online before it can be used as a fallback, persistent relays are now recommended for fallbacks.

Read about more about Persistent Relays in the documentation.

SNI support, for multiple SSL/TLS certificates

A single RSAS instance can now use multiple TLS certificates. This is needed when you have multiple domains pointing at a single server and you wish to use HTTPS on all of them. RSAS can now load a different TLS certificate for each configured hostname, via a mechanism called SNI.

To configure multiple TLS certificates, a new <vhosts> section needs to be declared in your config file.

Read about configuring multiple TLS certificates in the docs.

Major performance improvements

Various parts of RSAS have seen major performance improvements, including a large reduction in CPU usage and reduced disk access. We're working on new benchmarks, but so far we've seen that RSAS can handle over 10X the listeners compared to the other streaming server software we tested.

Upgrading?

Please see the "Behaviour change" notes below. Most users should be able to upgrade without issue. Users with large numbers of relays should test that persistent relays operate as intended with their setup. If you need the old on-demand relay behaviour instead of persistent relays, add <on-demand>1</on-demand> to your <relay> config section.

Other Changes in RSAS 0.1.18

Here's a list of other changes in this release:

  • Added option to limit listener session duration on a per-mount basis (<max-listener-duration>). See the docs on Listener Duration Limits.
  • Added icecast-auth-timelimit header from source webhook auth. If specified, it imposes a timelimit on the listener. See the docs on Timelimit for Webhook Listener Auth.
  • Icecast-compatible header passthrough (via POST vars) for webhook listener and source auth. (<options name="headers" ...> and header_prefix). See the docs on passing through HTTP headers with listener auth webhooks.
  • Added server_start and stream_start metrics to /status-json.xsl
  • Added SNI support, for using multiple SSL certificates with different hostnames, via <vhosts>. Read more about SNI / VHosts / multiple TLS certificates.
  • Behaviour change: Default to persistent relays instead of on-demand (Use 1 in your section for on-demand behaviour.)
  • Behaviour change: /<mount>/metadata now returns JSON by default unless explicitly used with an EventSource for streaming metadata.
  • Behaviour change: Drop unwritten log lines if the backlog exceeds 10K records, to avoid blocking under high load.
  • Bugfix: Fixed rare memory leak with TLS
  • Bugfix: Fixed DNS lookups blocking for relays
  • Bugfix: Fixed TLS negotiation with clients that don't support SNI
  • Bugfix: Fixed glitchy audio playback via Google Assistant.
  • Bugfix: Fixed listener authentication race condition.
  • Bugfix: Improved compatibility with Unity game engine - Only send in-band ICY metadata if it changed.
  • Bugfix: Various other bugfixes

What's next?

We'll be continuing to refine RSAS and improve the features that our users are utilizing the most. Over the last few months, much of our effort was focused on optimization and refinement of existing features. We are still experimenting with HLS and working on rounding out the HLS feature set. We've also laid the groundwork for some other features we're not yet ready to announce, so stay tuned.

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

RSAS Logo RSAS 0.1.17 Released

We're pleased to announce the release of RSAS 0.1.17! Rocket Streaming Audio Server (RSAS) is a high-performance webserver designed for broadcasting live audio through the web, with low latency and high listener capacity.

This release adds a new Metadata History API, Icecast-compatible status page (optional), customizable error pages, and more.

Get RSAS 0.1.17 today from our downloads page.

Metadata History API

A new JSON API is available that provides the last 10 received metadata updates, which can be used to display recently played tracks. Previously, developers had to build their own server-side play history solution, but now RSAS saves you time by having this built-in.

Visit /mount/metadata-history on your RSAS server to test it out, or read the Metadata History API docs for more information.

Read about more about the Metadata History API in the documentation.

Customizable Error Pages

RSAS now displays user-friendly error pages, which can be customized. Templates for the error pages are now bundled with RSAS for Windows and in our DEB/RPM packages.

Read more about the new customizable Error Page Templates in the docs.

Improved Source Behaviour

RSAS will now retain listeners for up to 10 seconds after a source disconnects, to allow sources to reconnect and resume broadcasting to those listeners. This also applies to relays.

Icecast-compatible Status Page

An optional Icecast-compatible Status Page and JSON endpoint (/status-json.xsl) can now be enabled. Some web-based player widgets and other services designed for Icecast get stream metadata by trying to scrape the JSON endpoint, and this update makes RSAS compatible with those players and services.

The Icecast-compatible status page can be enabled on Linux by adding the following to your config file:

<emulation>
    <icecast-status-page>1</icecast-status-page>
</emulation>

On Windows, the Icecast-compatible Status Page can be enable via the Configuration screen.

Read more about the Icecast-compatible Status Page in the docs.

Other Changes in RSAS 0.1.17

Here's a list of other changes in this release:

  • Performance improvements
  • TLS certificate errors are now non-fatal on service reload.
  • Various relay and fallback bugfixes, including:
    • Fallback override now works with relays, allowing listeners to be moved back from a fallback mount to a relay if it reconnects.
    • Improved relay reconnection logic
    • Bitrate/channels/samplerate info is now shown in /health for relays.
  • Improved logging, especially related to relays and fallbacks, to aid troubleshooting.
  • Authentication options (<option>) can now be removed during config reloads.
  • Added CORS headers to all error responses.
  • Improved compatibility when relaying from AIS and Shoutcast 2.5.5
  • Added a DEB package for Ubuntu 16.04
  • Added experimental FreeBSD 12 package

What's next?

We're planning to implement persistent relays (non-on-demand) next and are experimenting with some ideas for <alias> mounts. We're still pushing towards support for HLS and hope to ship at least experimental HLS support soon.

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

RSAS Logo RSAS 0.1.16 Released

We're pleased to announce the release of RSAS 0.1.16! Rocket Streaming Audio Server (RSAS) is a high-performance webserver designed for broadcasting live audio through the web, with low latency and high listener capacity.

This release adds HTTPS stream relaying, fast start and low latency modes, improved source encoder compatibility, and more. We've also added packages for Ubuntu 20.04 and FreeBSD 12.

Get RSAS 0.1.16 today from our downloads page.

HTTPS Stream Relaying

Relaying HTTPS streams is now supported! To make this possible, we've improved and simplified the config syntax for relays, by introducing a new <url> tag which replaces the confusing <server>, <port>, and <mount> syntax inherited from Icecast. For compatibility, the old syntax is still supported, but the new syntax is required if you want to specify the protocol (eg. https://).

As an example, adding an HTTPS relay to your config is now as easy as:

    <relay>
        <url>https://www.myotherserver.com/mystream</url>
        <local-mount>/relay</local-mount>
    </relay>

Read about more on Relaying in the documentation.

Fast Start and Low Latency Mode

Certain web browsers take longer to start playback with RSAS because they have a large playback buffer and wait for it to fill before playing. This release adds a new, optional URL parameter that allows you to accelerate the start of playback, at the expense of increased latency. By adding ?latency=high to the end of your stream URL, web browsers will start playing more quickly.

Additionally, we've added a ?latency=low mode that allows you to experiment with even lower latency. The benefit of these options being URL parameters is that you can tailor the latency for different devices or browsers without having to change your configuration.

Read more about Fast Start / Low Latency Mode in the docs.

Improved Encoder Compatibility

This update improves compatibility with several older Icecast source encoders, including SAM and StationPlaylist. These encoders all speak a slightly different ICE/1.0 protocol, which is a consequence of there being no real written specification or standard for Icecast streaming. As of now, every encoder that we know of that is Icecast-compatible works with RSAS.

Webpage Serving

You can now serve a webpage at the / URL by creating an index.html file in your webroot directory. RSAS already supported static file serving, but this release includes some important bugfixes related to that for Windows users.

What else is new in RSAS 0.1.16?

Here's a full list of changes in this release:

  • Improved compatibility with older ICE/1.0 source clients (SAM, SPL).
  • Relaying of HTTPS streams added via a new <url> tag that can be nested under <relay>. Read the docs for more information.
  • Added "latency" querystring for listeners, to allow for playback to start quicker vs. less latency.
  • The / URL is now aliased to index.html. Create an index.html file to create a homepage at the / URL.
  • Reduced memory usage for Server-Sent Events metadata stream
  • Improved cache headers, to prevent browser caching (Cache-Control: no-store, Date/Expires).
  • Added <hostname> setting, for future work.
  • Added correct mimetype for MPEG-TS files (.ts)
  • Added OPTIONS HTTP request handling
  • Bugfix: Escape pipe symbols in playlist.log
  • Bugfix: Fixed mimetypes for static files on Windows (they don't all download as attachments anymore.)
  • Bugfix: Fixed relaying from Nimble Streamer
  • Bugfix: Wildcard mount settings aren't applied to static audio files - avoids them being treated as looping audio.
  • Bugfix: Apply port 8000 firewall rule to rsas.exe in installer, instead for the service.
  • Bugfix: Fixed several bugs in X-Forwarded-For handling.
  • Bugfix: Escape Server-Sent Events metadata
  • Bugfix: Fixed relaying streams with apostrophes in metadata.

What's next?

We've been continuing to work on HLS support in RSAS, which will bring HLS to the Icecast ecosystem. As part of this work, we're also adding support for MPEG-TS streams, which may be useful for certain niches.

If you need HLS support, we'd love to hear from you to learn more about your needs. Please get in touch!

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

RSAS Logo RSAS 0.1.14 Released

We're pleased to announce the release of RSAS 0.1.14! Rocket Streaming Audio Server (RSAS) is a high-performance webserver designed for broadcasting live audio through the web, with low latency and high listener capacity.

Get RSAS 0.1.14 today from our downloads page.

Let's Encrypt HTTPS Wizard for RSAS

With the recent release of Chrome 80, Google has started blocking embedded HTTP audio streams in websites that are using HTTPS. The dreaded "mixed content warning" now means streams embedded in websites won't play at all. The solution is to use HTTPS for your audio stream.

As a result of these policy changes, we've had a numerous users switching from Icecast and SHOUTcast over to RSAS, for its excellent HTTPS support. For Linux users, we already have a guide for on setting up RSAS using free Let's Encrypt certificates, but we're committed to first-class support for Windows, and we wanted to make the HTTPS setup process easier for Windows users too.

With RSAS 0.1.14 for Windows, we've built-in a new HTTPS wizard, to automatically request Let's Encrypt TLS/SSL certificates and configure HTTPS for you. Setting up HTTPS for your audio stream is now easier than ever before.

Let's Encrypt HTTPS wizard for streaming audio
The new HTTPS Wizard allows you to easily get a free Let's Encrypt TLS/SSL certificate, and configure HTTPS.
Let's Encrypt HTTPS wizard page 2
All you need to do are point a domain at your server, and ensure port 80 and 443 are accessible from the internet (forward the ports on your router).

What's new in RSAS 0.1.14?

  • Let's Encrypt HTTPS Wizard (Windows only)
    • Easily setup HTTPS using our new HTTPS Wizard. Automatically requests a certificate for your from Let's Encrypt, configures HTTPS, and setups up automatic certificate renewal for you.
  • Fixed a bug causing high CPU usage after certain fallback transitions
  • Improved error log readability

Looking for HTTPS audio stream hosting?

Over at Radio Mast, we offer streaming audio hosting with HTTPS, starting at just $5 / month, through our global streaming audio CDN.

What's next?

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

Rocket Broadcaster Logo Rocket Broadcaster 1.3.3 now available

A screenshot of Rocket Broadcaster main window

We're pleased to announce our first release of 2020, Rocket Broadcaster 1.3.3. This cumulative update was developed in close collaboration with a number of radio stations, and is focused on improving support for high-end soundcards and adding support for two new metadata formats.

Here's what's new:

Soundcard Compatibility Improvements

Audiophiles will be pleased to hear that we've improved support for high-end soundcards. We've also added support for mono inputs, which is particularly useful if you need to capture many streams from a single soundcard (via multiple instances of Rocket Broadcaster Pro).

  • Added ASIO Support
    • Improved compatibility with high-end soundcards via the ASIO audio API. ASIO can now be chosen in the preferences, and supports up to 96 kHz.
    • Improved support for UAD soundcards.
    • ASIO channel names are now shown, which is especially helpful on soundcards with many inputs.
  • Reintroduced Windows MME and DirectSound audio APIs, to improve compatibility with certain legacy soundcards with older drivers.
  • Added mono input support. This allows you to capture from individual mono inputs on a soundcard, and automatically handles upmixing to stereo if needed.

New Metadata Ingestion

Metadata can now be ingested from more automation and metadata systems:

  • Added Artic Palm CSRDS XML metadata support
  • Added Enco DAD XML metadata support

Other Improvements

  • Fixed saving Shoutcast 2 artwork and "private stream" preferences
  • Increased the max number of saved recordings

Download the Update

Feedback

Lastly, your feedback is what helps drive Rocket Broadcaster development. If you're looking for a missing feature, or have ideas for how we can make Rocket Broadcaster even better, please let us know!

RSAS Logo RSAS 0.1.12 Released

We're pleased to announce RSAS 0.1.12 is now available for download. Rocket Streaming Audio Server (RSAS) is a streaming audio webserver designed for low latency and high capacity audio streaming.

Get RSAS 0.1.12 today from our downloads page.

What's new in RSAS 0.1.12?

What's next?

We have a number of new features in development, including:

  • Customizable error pages
  • Icecast-compatible status page
  • Always-on relays

Looking for other features? RSAS development is driven by your feedback, so get in touch and let us know how we can help your online audio streaming.

RSAS Logo Benchmarking RSAS, Icecast, and SHOUTcast

How many listeners can your streaming server handle? If you want to deliver stable live audio to a large online audience, you'll want to know the answer. We decided to put RSAS head-to-head with Icecast and SHOUTcast and measure the performance of each, to help broadcasters plan their server deployments and better understand how each streaming server scales.

Which streaming server performs best? Read on!

Test Setup

Before we get into the numbers, here's a breakdown of the test environment. The test hardware consisted of two PCs:

  • Client PC: Intel Core 2 Duo E8500, 4 GB DDR2 RAM, Ubuntu 19.10
  • Server PC: Intel Core i5-7600K, 32 GB DDR4 RAM, Windows 10, 1903


Both PCs were directly connected via a 40 Gbps copper connection using a pair of Mellanox ConnectX-3 Ethernet cards. On the client PC, 10 instances of ab were spawned and connected via HTTP to the server PC, each simulating 1000 concurrent listeners, for a total of 10,000 listeners. Standard tuning was also applied to each PC to allow them to handle high numbers of network connections (increased socket descriptor limits, etc.).

The server PC was configured with the following software:

  • RSAS 0.18.0
  • Icecast-KH 2.4.0-kh12
  • SHOUTcast 2.6.0.753


These are the latest versions of each application at the time of writing. Each application had a single mount/stream configured with the default minimal configuration. No customization was done.

The server PC was also configured with Rocket Broadcaster 1.3.0 as the encoder, with a single 64 kbps MP3 stream connected to each server for each test. The encoder was connected to RSAS and Icecast using the Icecast2 protocol, and the Shoutcast2 protocol for SHOUTcast.

Benchmark Results

CPU Usage Comparison
CPU usage graph: RSAS vs. Icecast and Shoutcast with 10000 listeners
The average CPU usage of RSAS, Icecast, and SHOUTcast with 10,000 listeners connected, sampled over 60 seconds.

With 10,000 listeners connected, RSAS had the lowest CPU usage, beating both Icecast-KH and SHOUTcast. RSAS is currently the fastest streaming audio server on the market, and is almost 20% more efficient than Icecast-KH.

This efficiency translates into a number of advantages for broadcasters. After network bandwidth, CPU usage is the next biggest bottleneck for streaming. A more efficient streaming server means you can serve more listeners with the same hardware. RSAS is also better equipped to handle transient spikes in utilization, such as big jumps in listener counts or drop offs, without disrupting other listeners.

Memory Usage Comparison
Memory usage graph: RSAS vs. Icecast and Shoutcast with 10000 listeners
The average resident RAM usage of RSAS, Icecast, and SHOUTcast with 10,000 listeners connected, sampled over 60 seconds.

In terms of memory usage, each application faired well. Icecast came out on top here, narrowly beating RSAS.

With all of the applications tested, the memory consumption is so low that if you have the CPU power to serve tens of thousands of listeners, you'll definitely have more than enough RAM on your system to handle it. Memory consumption is good to keep an eye on, but will not be a concern for broadcasters.

Going beyond 10K listeners

When we started doing these benchmarks, we initially load tested each application with 30,000 listeners @ 64 kbps, requiring about 2 Gbps of bandwidth. However, we found that SHOUTcast started dropping listeners around the 15,000 mark, and Icecast started dropping listeners around the 12,000 mark. On the same PC, RSAS was able to serve 37,000 listeners simultaneously without dropping listeners. When testing RSAS, the bottleneck was actually the Client PC that was running the 37,000 listener, as we fully saturated its CPU. In other words, 37K wasn't even the limit for RSAS on our Server PC.

To demonstrate this, we ran another test where we ramped up the number of listeners to 18,000 over the course of a few minutes, and measured the number of listeners connected vs. the CPU usage:

Memory usage graph: RSAS vs. Icecast and Shoutcast with 10000 listeners
Listener count vs. CPU usage for RSAS, Icecast, and SHOUTcast, as 18,000 listeners were ramped up over 7 minutes.

In the graphs above, the red line shows how many listeners were reported by each streaming server, as we ramped up 18K listeners over 7 minutes. While RSAS managed to reach 18K listeners and stay stable, Icecast has a meltdown and started dropping thousands of listeners once it hit 12K. Similarly, SHOUTcast started dropping listeners around the 15K mark. The large spikes in Icecast CPU usage indicate a snowball effect, where it temporarily locks up when it is unable to serve listeners anymore.

We limited our earlier CPU and memory usage comparisons to 10K listeners since it's a regime where each application clearly operated normally. Our theory is that poor multithreading performance limits the listener capacity of Icecast and Shoutcast, while RSAS's optimized mulithreading allows it to scale far better.

For a future article, we're working on repeating our testing with an upgraded Client PC and trying to push 10 Gbps of listener traffic. We'd also like to look at performance on Linux, and measuring the stability of each server under load.

The Bottom Line

RSAS comes out on top as the highest performing streaming audio server, allowing broadcasters to serve more listeners than ever before with the same hardware.

Questions about RSAS or planning streaming capacity? Get in touch!

Update 2022/11/09: Check out Round 2 of our benchmarks, testing each server up to 240,000 listeners!