Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
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 ); i cant be sure tho if its being sent at all, what is the myme type for ogg vorbis? <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Geoff Shang" <gshang@pacific.net.au> To: <icecast-dev@xiph.org> Sent: Friday, April 02, 2004 1:40 AM Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers <p>> On Thu, 1 Apr 2004, Dave St John wrote:> > > That seems it may work, however the server adds the client (php proxyscript> > in this case) > > and does not disconnect it, however winamp does not recieve any audio,just> > sits there saying BUFFERING > > Dumb question maybe, but are you sending winamp the correct mMIME type? > > 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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Geoff Shang
2004-Aug-06 14:57 UTC
[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, > sourceuriThat 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. <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
Didnt try the application/ogg ogg extension yet, ill give that a shot. <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Geoff Shang" <gshang@pacific.net.au> To: <icecast-dev@xiph.org> Sent: Friday, April 02, 2004 5:28 AM Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers <p>> 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 forogg> > vorbis? > > the Ogg Vorbis MIME type is application/ogg. This may or may not helpyou,> 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 topass> .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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
On Friday 02 April 2004 22:28, Geoff Shang wrote:> 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. >I think the icecast docs somewhere say that this is the case - that due to bugs in winamp (and some other clients), you'll need your URLs to end with ".ogg". You _might_ (I haven't tested this!) be able to do this with a 'fake' url parameter, like: http://server:port/myscript.php?makewinampwork=file.ogg Mike --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.