We are finding that when we stream an ogg file via a .m3u file on our server, playing it with Winamp, pausing the player for an extended period of time results in unpredictable results, such as the file ceasing to play before EOF. Is this a Winamp issue, or is there something someone can tell me about streaming ogg in this manner? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20070519/f91947db/attachment.html
On Sat, May 19, 2007 at 10:12:06AM -0400, Steve wrote:> We are finding that when we stream an ogg file via a .m3u file on our server, playing it with Winamp, pausing the player for an extended period of time results in unpredictable results, such as the file ceasing to play before EOF. Is this a Winamp issue, or is there something someone can tell me about streaming ogg in this manner?Might be a TCP issue, depending on your operating systems and the definition of "a long time". A normal webserver (as opposed to a "live" stream like icecast provides) will keep sending data at whatever rate the client requests until the file is finished, but if you pause, the client will generally stop requesting data. If no data is sent for long enough (somewhere between 10 minutes and a few hours, depending) the TCP stack will time out and the connection will drop. The result is that when you unpause, it will play what remains in the download buffer, then stop. If that's what's happening, it really is a winamp problem, since it can detect this and restart the connection. No idea if it does or not though. Does that help? -r
Steve skrev:> We are finding that when we stream an ogg file via a .m3u file on our > server, playing it with Winamp, pausing the player for an extended > period of time results in unpredictable results, such as the file > ceasing to play before EOF. Is this a Winamp issue, or is there > something someone can tell me about streaming ogg in this manner? > ------------------------------------------------------------------------ > > _______________________________________________ > Vorbis mailing list > Vorbis@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis >The default on Apache servers (at least) is a timeout of 300 seconds. I guess this should mean that if you pause for at least five minutes, your client won't be able to resume unless it's able to reconnect and set the position from which to read. I've no idea if Winamp does this. I guess it should, if it's at all supported by the server. Regards Oscar
I wasted a couple of days on this when I tried to stream ogg files via a .m3u files. These were my observations.I used ethereal for monitoring the traffice between my machine running the client player and the server. 1.) Windows media player: This client would send multiple requests at random to fetch the ogg url within a span of couple of seconds. 2.) Winamp media player: This client would send at least two requests to fetch the ogg url. -Manoj. On 5/19/07, Steve <srussell@innernet.net> wrote:> > > We are finding that when we stream an ogg file via a .m3u file on our > server, playing it with Winamp, pausing the player for an extended period of > time results in unpredictable results, such as the file ceasing to play > before EOF. Is this a Winamp issue, or is there something someone can tell > me about streaming ogg in this manner? > _______________________________________________ > Vorbis mailing list > Vorbis@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis > >