Streaming Guides

Why Does Internet Radio Keep Buffering? Causes and Fixes

A stream that keeps stopping to rebuffer almost always has one of a handful of causes, and a quick test tells you which side of the connection it is on.

Browse 30,000+ stations
Written by Oleg Antonov, founder of Sentri Radio
5 min read

Why does internet radio buffer?

A radio player keeps a few seconds of audio in reserve, called the buffer, and plays from it while new audio arrives. Buffering happens when audio arrives more slowly than it is played: the reserve drains, playback stops, and the player waits until it has enough to start again. A live stream cannot download ahead the way an on-demand song can, because the next minute of the broadcast does not exist yet, so a radio player has much less room to hide a slow or interrupted connection.

Is it my connection or the station?

Play a second, unrelated station from a different broadcaster. If both stutter, the problem is on your side: the network, the device or the app. If only one does, the cause is almost certainly that station's server or the route between it and you, and the only fixes are a lower-bitrate version of the same station or listening at a quieter time.

Common causes on the listener's side

A weak or changing mobile signal. Moving between cells, going through a tunnel or standing in a crowd all interrupt the connection. The buffer covers a short gap; a long one empties it.

Wi-Fi congestion and range. The 2.4 GHz band reaches further but is shared with neighbouring networks, Bluetooth devices and microwave ovens. The 5 GHz band is usually less crowded but weaker through walls, so the right choice depends on where the router is.

A bitrate too high for the connection. A FLAC stream needs a steady 600 kbps to 1.1 Mbps. That is nothing for home broadband and fragile on a weak mobile signal, where a 64 or 128 kbps version of the same station plays without breaks. Our data usage guide lists what each bitrate needs.

Battery saving. Android's Doze mode and app standby restrict network access for apps in the background, and some phone makers add stricter battery managers of their own. A radio app that plays normally on screen and stops a few minutes after the screen turns off is usually being restricted this way. Setting the app's battery use to unrestricted fixes it.

Data Saver. Android's Data Saver blocks background data for apps that are not on its allowed list, which can cut a stream when you switch to another app.

VPNs and network filters. A VPN adds a hop and can route you through a distant server. Some workplace and school networks block the ports many stations stream on, or cut long-running connections.

Common causes on the station's side

An overloaded server. Every listener receives a separate copy of the stream, so a small station's outbound bandwidth fills up quickly during a popular show. Icecast servers also enforce a listener limit set by the operator, and a full server turns new listeners away.

Distance and routing. Small stations often run one server in one country with no content delivery network in front of it, so listeners on another continent reach it over a long, busy route.

Source drops. If the station's encoder loses its connection to the streaming server, every listener loses audio at the same moment. Well-run stations configure a fallback, such as a backup playlist on another mount point, so the stream carries on.

How players and stations reduce buffering

Players start quickly when the server sends a burst. Icecast sends a burst of audio the moment a listener connects, 64 KB by default, which fills the player's buffer at once instead of in real time. Station operators can raise it in the burst-size setting.

HTTP Live Streaming (HLS) takes a different approach. The stream is cut into short files listed in a playlist, and a station can publish the same programme at several bitrates so the player steps down when the connection weakens and back up when it recovers (Pantos and May, 2017). That adaptive switching is the main reason large broadcasters use HLS, though it usually puts the listener ten seconds or more behind live.

The Sentri player reconnects on its own when a stream drops, and if a station keeps stalling over a direct connection, it retries by a different route before giving up.

Quick fixes, by symptom

SymptomLikely causeWhat to try
Every station stuttersYour connectionMove closer to the router, switch Wi-Fi band, or restart the router
Only one station stuttersThat station's server or routeA lower-bitrate version of it, or another station
Stops a few minutes after the screen locksBattery optimisationSet the app's battery use to unrestricted
Stops when you switch appsData Saver or background limitsAllow background data for the app
Stutters only on mobile dataBitrate too high for the signalUse a 64 or 128 kbps stream on the move
Plays at home but not at work or schoolNetwork filteringTry mobile data to confirm, then ask the network's administrator

Every Sentri station page lists the codec and bitrate the station reports, so you can pick a lighter stream when the signal is weak. To find one by style or place, the browse pages list stations by country and genre.

References

  1. Pantos, R., & May, W. (2017). HTTP Live Streaming. RFC 8216, Internet Engineering Task Force.
  2. Xiph.Org Foundation. Icecast 2.4 Documentation: Config File (limits, burst-size, fallback-mount). icecast.org/docs.
  3. Android Developers. Optimize for Doze and App Standby. developer.android.com.
  4. Android Developers. Optimize network data usage. developer.android.com.

Keep reading