Baz has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I was wondering if any1 is aware of any perl functionality which converts mp3s to ram on the fly, respecting the bandwidth available to the client. Also would it be possible to ping the client to establish what streaming rate would best suit the client without them having to specify their modem speed. Thanks Barry.

Replies are listed 'Best First'.
Re: Audio Streaming
by Bobcat (Scribe) on Mar 21, 2002 at 19:17 UTC
    A quick search on CPAN yielded no results for RealAudio streaming or any (relevant) results on RAM as a file format.

    As far as I know, the RealAudio format is closed and proprietary. Attempts have been made to reverse engineer the protocols and formats, but they change so often it's a losing battle.

    Any particular reason it has to be in RealAudio format? There's a particularly good Apache module (mod_mp3 if memory serves) that handles the streaming of MP3 audio. I find the fidelity and dynamic range of MP3 to be far superior to that of (streamed) RealAudio.

    Hope that helps.

      In the same vein you also have Apache::MP3, which is a nifty mod_perl handler to stream/download MP3 audio. I can't speak about mod_mp3, but I use Apache::MP3 at home and it was a breeze to setup.
A reply falls below the community's threshold of quality. You may see it by logging in.