Click to See Complete Forum and Search --> : streaming steamy audio w/ Apache is fun!


cmndr keen
06-03-2001, 04:29 AM
I'm using Apache to stream audio. Why don't I just use Icecast I hear you asking? Well, I needed to circumvent a firewall for one (sure I could just tunnell it over ssh, but damn, quit nagging!), plus it's too easy to not try to figure it out.

but anyway, here's the problem:

I'm streaming mp3's off a linux (2.4.4) server running Apache (1.3.19), and more than enough bandwidth. I'm playing the mp3's w/ winamp (don't diss, work box), and for the most part, it works bloody fantastic, but now and again, songs will just stop playing and jump to the next in the playlist for no apparent reason. I have reason to have SERIOUS doubts that routing problems/bandwidth are causing the stream to be interrupted. Apache returns a 200 OK status once the file is located and has begun to be sent accross the network. Is there a way to have apache monitor the upload more carefully and try to keep the upload active. Don't ask if I have keepalives enabled, because I do, and that only has to do w/ the # of requests a client is able to make on one connection.

Anyways, booku guru points are at stake. Do you have what it takes (because I obviously do not)?