ID: 19485
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.2.3
New Comment:
Maybe I should add that if I try to listen to a mp3 file directly from
a URL to my server without using a script like in my example, winamp
will immediately start buffering for about 0,2 sec and then start
playing, almost like it was from a local harddive so it is not my
server that is that slow (p166, SCSI disks). The mp3 file I'm testing
with is 6,6Mb, I don't want to think about how my server will suffer
when trying to load a 100Mb mp3 :(
Previous Comments:
------------------------------------------------------------------------
[2002-09-18 19:32:59] [EMAIL PROTECTED]
I have set output_buffering to Off and tried something as simple as
this:
playmp3.php
<?
readfile("mymp3.mp3");
?>
And the entire output is buffered somewhere. I tried to open the url to
the playmp3.php file in winamp and my server hdd LED lights up for
about 8 seconds, after that winamp shows it is buffring for about 0.2
sec (LAN connection to the server) and then starts playing. Nothing is
outputed from the server while the hdd LED is on and my slow server is
terrible busy :( Sometimes the buffering takes more then 10 sec and
winamp will time out. I'm using Apache 2.0.40 also.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19485&edit=1