Table of Contents
Linux:
Windows:
Rocket Streaming Audio Server is compatible with all Icecast2-compatible encoders. RSAS supports both SOURCE and PUT verbs.
Our recommended encoder is Rocket Broadcaster, but RSAS is also compatible with:
Format | Bitrates (kbps) | Samplerates (Hz) | Channels |
---|---|---|---|
MP3 | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 11025, 22050, 44100, 48000, 96000 | Mono, Stereo |
AAC (AAC-LC) | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 11025, 22050, 44100, 48000, 96000 | Mono, Stereo |
HE-AAC v1 | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 22050, 44100, 48000, 96000 | Mono, Stereo |
HE-AAC v2 (AAC+) | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 22050, 44100, 48000, 96000 | Stereo |
Ogg Vorbis | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 11025, 22050, 44100, 48000, 96000 | Mono, Stereo |
Ogg Opus | 16, 32, 48, 56, 64, 96, 128, 192, 256, 320 | 8000, 12000, 16000, 24000, 48000 | Mono, Stereo |
Ogg FLAC (Lossless) | Avg. ~1500 kbps | 11025, 22050, 44100, 48000, 96000 | Mono, Stereo |
Codec | Metadata Support | Relaying | Fallbacks | HLS |
---|---|---|---|---|
MP3 | Yes, in-stream (ICY) | Yes | Yes | Yes |
AAC (AAC-LC) | Yes, in-stream (ICY) | Yes | Yes | Yes |
HE-AAC v1 | Yes, in-stream (ICY) | Yes | Yes | Yes |
HE-AAC v2 (AAC+) | Yes, in-stream (ICY) | Yes | Yes | Yes |
Ogg Vorbis | Yes, in-stream (ICY) | Yes | Yes* | No |
Ogg Opus | Yes, in-stream (ICY) | Yes | Yes* | No |
Ogg FLAC (Lossless) | Yes, in-stream (ICY) | Yes | Yes* | No |
* Seamless fallbacks for Ogg streams depend on the player's ability to resync, and has a low compatibility. We recommend using MP3 and AAC streams if you require seamless fallbacks (no listeners dropped), as RSAS has perfect frame-synced fallback transitions for these codecs, which should be compatible with every player. For more information, see the Configuration section on Fallbacks.
RSAS supports relaying HTTP and HTTPS streams from:
HLS streams can be relayed from RSAS only. (HTTP streams can be converted to HLS on-the-fly though.)
RSAS dynamically converts traditional HTTP streams to HLS. HLS segments use Packed Audio (AAC ADTS or MP3 only).
For more information, see HLS Technical Details.
RSAS supports HTTP/1.1 including Keep-Alive (persistent connections) and the Range header for static files.
The maximum HTTP request header size is 4 KB and this can be customized.
RSAS supports HTTPS using TLS 1.2 and 1.3. The default cipher suite and all configuration options are documented here.
RSAS is fully compatible with free LetsEncrypt SSL/TLS certificates.
RSAS is known to play nicely with haproxy
, and likely works well with nginx
too.
The X-Forwarded-For
header is supported by RSAS so that client IPs are
recorded correctly in the access.log
.
Although RSAS supports TLS / HTTPS itself, using haproxy
in front of RSAS can be used as an alternative approach
to providing TLS / HTTPS streams. RSAS can serve static files, so
it plays nicely with certbot
/ LetsEncrypt too.
Use of an HTTP proxy server for outbound HTTP(S) requests made by RSAS is supported.