[icecast-dev] icecast2 ogg vorbis client request headers

Dave St John dstjohn at mediacast1.com
Fri Apr 2 12:28:08 PST 2004



Some sample data of the working mp3 stream
 when the listener connects with there client on the mp3 mount, the listener
info shows up as this
IP                    Connected For               User Agent
66.90.79.124      252 seconds   latex radio Subscription Services |
Subscriber:djpulse | Client:WinampMPEG/2.8 mp3PRO/1.2 | Subscriber IP:
24.8.234.137

<p>where the IP is the webserver ip that connects and the clients ip is
Subscriber IP etc...
helpfull info to know who is listening and for how long etc.....
So i agree a 3rd party PHP/CGI Script would be better, icecast2 just needs
some form of protocol to handle the requests a little better for all media
player clients.

<p>Dave St John
Mediacast1 Administration

Need Support ?
http://mediacast1.com/helpdesk
----- Original Message ----- 
From: "Dave St John" <dstjohn at mediacast1.com>
To: <icecast-dev at xiph.org>
Sent: Friday, April 02, 2004 1:10 PM
Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers

<p>> Didnt try the application/ogg        ogg extension yet, ill give that a
> shot.
>
>
> Dave St John
> Mediacast1 Administration
>
> Need Support ?
> http://mediacast1.com/helpdesk
> ----- Original Message ----- 
> From: "Geoff Shang" <gshang at pacific.net.au>
> To: <icecast-dev at xiph.org>
> Sent: Friday, April 02, 2004 5:28 AM
> Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers
>
>
> > On Fri, 2 Apr 2004, Dave St John wrote:
> >
> > > I have tried that, but not sure if i am doing that right.
> > > in connection.c starting line 847 i believe, it sends this
> > >             bytes = sock_write(client->con->sock,
> > >                     "HTTP/1.0 200 OK\r\n"
> > >                     "Content-Type: audio/x-mpegurl\r\n\r\n"
> > >                     "http://%s:%d%s\r\n",
> > >                     host,
> > >                     port,
> > >                     sourceuri
> >
> > That looks like the auto-generated .M3U stuff there - that is
> > audio/mpegurl.  The MP3 itself should be audio/mpeg.
> >
> > > i cant be sure tho if its being sent at all, what is the myme type for
> ogg
> > > vorbis?
> >
> > the Ogg Vorbis MIME type is application/ogg.  This may or may not help
> you,
> > depending on how smart Winamp is nowadays.  Certainly time was that
Winamp
> > relied on the .ogg extension to know that it was ogg vorbis, and in
truth
> > this may be your problem.  Maybe you'll have to get your web server to
> pass
> > .ogg as a PHP script?  <yuck>
> >
> > Geoff.
> >
> >
> > --- >8 ----
> > List archives:  http://www.xiph.org/archives/
> > icecast project homepage: http://www.icecast.org/
> > To unsubscribe from this list, send a message to
> 'icecast-dev-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.
> >
>
>
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
'icecast-dev-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.

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-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 Icecast-dev mailing list