Page 1 of 1

streaming

Posted: Thu Sep 26, 2002 6:14 pm
by fractalvibes
Hi,
I have done the following with great success in both ASP and PHP:

Upload images (jpeg, gif) into a database as a BLOB.
Write a script that serves up the file i.e.
img src=ShowImage.php?ID=99
ShowImage.php pulls the content-type and image out of the database,
sets it's content-type appropriately, and echoes the image. Works great!

Now I'm trying to do the same with mp3 files and real audio.

Say I have a ram file - it is just a link to the ra file, but in this case actually the url to the PlayMedia.php, similar to ShowImage in concept.

For mp3 I use a m3u file for the same purpose.

The m3u files will play for <30 seconds, the real audio will not at all.
Acts like it is connecting, but says the Real Audio player is contacting Real Networks for software and nothing happens.

Has anyone tried something similar??? There are obviously some other issues to be addressed that I am not aware of!

thanks,

Phil Jackson

Posted: Thu Sep 26, 2002 6:49 pm
by volka
not quite the answer to your question but a good opportunity to allude to mod_mp3