"MeerKat" wrote:
Daniel wrote:
Hi all,
I wanted a way to (http) stream Real Audio files without the need to use
.ram files. In case there are others interested in this, the following
is the solution that worked for me:
<?php
Header("Content-Type: audio/x-pn-realaudio");
echo "http://www.domain.com/audiofolder/track1.rm";
?>
Please let me know if you see any problems with this solution.
Presumably this will fail on larger files as PHP will quit after a
certain number of seconds (15 by default isnt it?).
/Daniel
--
MeerKat
Thanks for your reply MeerKat. What I wanted was to get rid of the need for
..ram files and a PHP script to replace a .ram file. I'm really no expert how
this all work but I assume the PHP script has nothing to do with the actual
streaming, only telling the Real Player where to find the .rm file and
leaves the rest all up to the player. The following is from my phpinfo:
Apache
Connection: 300 - Keep-Alive: 15
HTTP Response Headers
Keep-Alive timeout=15, max=100
I played a 4 minute long track this way and it worked with these settings.
Regards,
Daniel