Author |
|
raphael75
Joined: 26 Jul 2013 Posts: 5
|
Posted: Tue 05 Nov '13 21:51 Post subject: streaming timeout |
|
|
I have a web server with Apache 2.4 VC11 (http://www.apachelounge.com/download/) running on Win 7.
On my server I have some mp3's. I can queue them up in Winamp and the 1st one will begin streaming. However, after it plays for about 20-30 minutes it stops streaming, almost as if some time limit has been reached, and advances to the next song. I can reselect the song and drag the position to where it stopped playing and it will continue to play for about 20-30 minutes from that position and stop again.
Is there a setting in the apache configuration I need to add/change to increase this limit?
Thanks! |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 06 Nov '13 1:04 Post subject: |
|
|
I take it these are very large mp3 files.
Only for the directory these files are served from, try adding:
EnableSendfile On |
|
Back to top |
|
raphael75
Joined: 26 Jul 2013 Posts: 5
|
Posted: Tue 12 Nov '13 16:24 Post subject: |
|
|
That's correct, the files are anywhere from 50 to 120 minutes.
I set EnableSendfile to On and that appears to have fixed it! Thank you!!
I did some research on EnableSendfile. So basically it reads the file straight from the harddrive to the network card? (https://groups.drupal.org/node/68333) |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 12 Nov '13 18:47 Post subject: |
|
|
It hands off the responsibility of transferring the data to the OS |
|
Back to top |
|
raphael75
Joined: 26 Jul 2013 Posts: 5
|
Posted: Tue 12 Nov '13 18:52 Post subject: |
|
|
The only issue is if I pause the file if I click play it will jump to the next file in the list, but if I click the position selector and move it back 10 seconds it can resume. This isn't a major problem.
Thanks again! |
|
Back to top |
|