Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
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@mediacast1.com> To: <icecast-dev@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@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 > > > > 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 thatWinamp> > relied on the .ogg extension to know that it was ogg vorbis, and intruth> > 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@xiph.org' > > containing only the word 'unsubscribe' in the body. No subject isneeded.> > 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@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.
Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
fyi so you can see what im talking about mp3 demo username demo pass demo123 http://mediacast1.com/members/listen_icecast2_mp3.php?submc1id=999&submc1srvkey=278931a39ae8a23377e2d9445d8c9432f3e48a1d ogg demo that wont work same username and password as above http://mediacast1.com/members/listen_icecast2_ogg.php?submc1id=999&submc1srvkey=62af47c06f76eec34431bba72b3026e769a4347a use winamp to test these, you may have to click ctrl+l and enter the urls in manualy in winamp. Please let me know the errors or messages any of you recieve. <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Dave St John" <dstjohn@mediacast1.com> To: <icecast-dev@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@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 > > > > 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 thatWinamp> > relied on the .ogg extension to know that it was ogg vorbis, and intruth> > 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@xiph.org' > > containing only the word 'unsubscribe' in the body. No subject isneeded.> > 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@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.
Lee Azzarello
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
Dave St John wrote:>fyi so you can see what im talking about >mp3 demo username demo pass demo123 >http://mediacast1.com/members/listen_icecast2_mp3.php?submc1id=999&submc1srvkey=278931a39ae8a23377e2d9445d8c9432f3e48a1d > >ogg demo that wont work >same username and password as above >http://mediacast1.com/members/listen_icecast2_ogg.php?submc1id=999&submc1srvkey=62af47c06f76eec34431bba72b3026e769a4347a > >use winamp to test these, you may have to click ctrl+l and enter the urls in >manualy in winamp. >Please let me know the errors or messages any of you recieve. > >Using Mozilla 1.6 on Linux the mp3 link just dumps the binary data into my browser window. -lee --- >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
Hi: Ok, I ran both commands in my browser. The first started filling my browser with MP3 data, as you'd expect. The second sent back no page body at all except a couple of blank lines. I ran "curl -i" across the second, with the urlencoded username and password, and got back the following: HTTP/1.1 200 OK Date: Fri, 02 Apr 2004 21:40:31 GMT Server: Apache/1.3.29 (Unix) PHP/4.3.4 mod_ssl/2.8.16 OpenSSL/0.9.6l X-Powered-By: PHP/4.3.4 Transfer-Encoding: chunked Content-Type: text/html <p><p><p>The problem therefore must bee in your PHP script, reading the icecast2 stream. Maybe put in some debugging statements and see where its getting to. 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.
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.