[vorbis-dev] format of http stream?

Jeremy C. Reed
2002-04-03T21:22:56Z

On Wed, 3 Apr 2002, Jeremy C. Reed wrote:

Replying to myself and adding more details ...

> Or should I just use a real HTTP daemon?

Okay I got FreeAmp to work with mini_httpd. It didn't work with winamp;
winamp did the prebuffering three times and then the taskbar button said
"1. kaas.ogg (stopped)".

The httpd sent headers like:

HTTP/1.0 200 Ok
Server: mini_httpd/1.16beta14 02jan2002
Date: Thu, 04 Apr 2002 03:53:24 GMT
Content-Type: text/plain; charset=iso-8859-1
Content-Length: 4269889
Last-Modified: Thu, 04 Apr 2002 03:31:05 GMT
Connection: close

OggS ...

So I tried to duplicate this a little.

And I got my shell script via inetd to work with freeamp.

Well not very well, since freeamp hangs 9 out of 10 times. And my netbsd
box that is streaming says my process is in "netio" state.

(I can't get Winamp to play ogg over network at all.)

> Where are the specifications on how to set up the streamer?

I guess I could look at Freeamp source on what it expects. But it doesn't
seem like it should be the definitive specification for this.

But from my tests it seems like it expects a Content-Length header.

How can I not have a Content-Length header (especially since I want to
stream live audio)?

I know this is the devel list, so I am guessing it would also discuss
development of a server to stream ogg vorbis.

What http headers are normal? (ogg123 doesn't care as long as they end
with CTRL-M and CTRL-J, but it seems like freeamp and winamp do care.)

   Jeremy C. Reed
   http://www.reedmedia.net/

p.s. and another question: what Windows http streaming ogg player is
stable?