AudioUtils

What Is HLS Audio? HTTP Live Streaming Explained

Understand HLS audio streaming — how it works, which audio formats it uses, and when it matters for developers and content creators.

HLS (HTTP Live Streaming) is Apple's adaptive streaming protocol, originally developed for iPhone video in 2009. Today it is the dominant standard for delivering audio and video over the internet — used by YouTube, Netflix, Twitch, and most major streaming platforms. Understanding how HLS handles audio is useful for developers building streaming applications and content creators who want to understand what happens to their audio after upload.

How HLS Works

HLS splits media into small segments — typically 6 to 10 seconds each — stored as separate files. A playlist file (with a .m3u8 extension) tells the player which segments to download in sequence. As the player downloads segments, it also monitors network conditions. HLS supports multiple quality variants: if your connection slows down, the player switches to a lower-quality playlist automatically. This adaptive bitrate (ABR) streaming is why video and audio rarely stutter on modern platforms even with variable internet speeds.

Audio Formats in HLS Streams

HLS officially supports several audio codecs inside the MPEG-TS or fMP4 container formats. AAC (Advanced Audio Coding) is the standard for most HLS audio — it is hardware-decoded on all Apple devices and broadly supported on Android and browsers. AAC-LC (Low Complexity) is the most common profile. HLS also supports AC-3 (Dolby Digital) and EC-3 (Enhanced AC-3, also called Dolby Digital Plus) for surround sound delivery in TV and premium video applications. MP3 is technically supported in HLS but rarely used in new deployments.

What Streaming Platforms Do to Your Audio

When you upload audio or video to YouTube, the platform transcodes your file to multiple HLS variants. Your uploaded WAV or FLAC becomes AAC at various bitrates (128 kbps for low quality, 256 kbps for high quality). Your original file is used as the source; you do not hear the transcoding artifacts in the upload — they occur after. Upload the highest-quality source you have (lossless WAV or FLAC) so the transcoder has maximum information to work with.

For Developers Building HLS Streams

If you are building an HLS audio stream (for a podcast platform, radio station, or audio app), use FFmpeg to segment your audio into HLS format. The command generates the .m3u8 playlist and .ts or .m4s segment files automatically. CDN delivery (via Cloudflare, AWS CloudFront, or similar) distributes the segments globally. For the audio source files, 256 kbps AAC in the highest-quality stream and 64–128 kbps AAC in the lower-quality fallback is the standard configuration.