[vorbis] Servlet streamed Ogg skips
Eric Seppanen
eds at reric.net
Fri Apr 30 17:12:43 PDT 2004
On Sat, May 01, 2004 at 01:23:55AM +0200, Tor-Einar Jarnbjo wrote:
>
> > In the ogg case WinAmp starts playing immediately but it skip a lot. As
> > though it is skipping packets or something like that. The entire musical
> > selection goes by at almost twice its notmal speed.
>
> I'm not sure if this is the case, but it sounds as if Winamp is downloading
> the Ogg file as fast as possible and just plays from the current download
> position. Try to restrict the output rate from your servlet to the stream's
> actual bitrate.
That seems like a solution that will never fly. If the client is dumb
enough to skip forward in the file if it's able to download data much
faster than playback (which on most high-speed links is sure to be the
case) server workarounds can't fix the problem; you can't know if the
client clock speed is off by 1% and you might accidentally starve the
client for data.
I play ogg files through winamp from a remote machine of mine all the
time, and the winamp http client certainly doesn't do this for me. I
wonder if it's a bug in the winamp http client that's tickled by your
server behaving slightly differently from the average webserver.
Maybe you should take network traces of winamp playing the same file
from a regular webserver, and then your server, and try to see if
something's different? Maybe you should fake the exact same response
that a plain webserver gives to see if winamp reacts differently. Maybe
try other clients too?
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list