Flash audio players and Centova Cast

Question:
Why don't you include a Flash player with Centova Cast so that users can tune in to streams from their browsers?
Answer:
Short answer:

We do not include a Flash player because Flash itself was designed for MP3 audio files, not MP3 streams, and it handles streams poorly.

Long answer:

Because Flash itself is designed for individual MP3 files, it expects an MP3 to have a finite length and tries to load the entire MP3 file into memory.  It does not know how to deal with the indefinite length of the MP3 audio provided by a streaming radio station.

The result is that, unless your Flash player disconnects and reconnects periodically (thereby interrupting the music on a regular basis, every 10-15 minutes) the Flash player will slowly consume all of the memory available on the listener's computer, eventually causing the browser (or operating system) to crash.

Neither of the above scenarios (frequent audio interruptions nor crashing the listener's browser) are suitable for a production stream, and thus we do not make any attempt to include nor officially support Flash players with Centova Cast.

Workarounds

There are a few Flash media players available which disconnect and reconnect to the stream on a regular basis (as described above) to keep Flash from consuming all memory on the listener's computer.  One such player, the free MiniCaster Flash player, supports crossfading before and after the disconnection to reduce the impact of the audio interruption caused by these disconnections.

Centova Cast does offer a built-in integration option to work with MiniCaster.  Due to licensing restrictions we cannot bundle MiniCaster with Centova Cast, but you can download MiniCaster here and enable it in Centova Cast simply by editing /home/centovacast/system/config.php and enabling the MINICASTER_SWF option.  (The exact process is described in config.php itself.)

As you might expect, this still will not yield seamlessly uninterrupted audio, but in many cases the periodic interruptions are less noticeable with MiniCaster than with other similar Flash players.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Kicking the autoDJ

Question:When I kick the autoDJ and begin streaming live, Centova Cast reports an outage.ORWhen I...

Scheduled playlists do not start on time

Question:I scheduled a playlist to begin at a specific time of day, but it did not start on time...

Unable to connect with live source / live encoder

Question: When I start a stream in Centova Cast, it reports that the stream has been started...

How does the automatic live/autoDJ switching feature for IceCast work?

Question: How does the automatic live/autoDJ switching feature for IceCast work? Answer:...

Can I create an M3U playlist and upload it to Centova Cast?

Question:Can I create an M3U playlist and upload it to Centova Cast, instead of using Centova...