ICY and HTTP

Talk about Audio On Demand or Streaming
Post Reply
THEARTOFWEB
Posts: 7
Joined: Fri Sep 26, 2008 5:59 am

ICY and HTTP

Post by THEARTOFWEB »

I'm try to get my web server to broadcast thru port 80, like people exec for a Perl file and they get endless Mp3 data...I would like to send some sort of header first...is there any differences between:

Code: Select all

ICY 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/posix v1.6.0rc2<BR>
icy-name:MondoTuccio's Broadcast ***LIVE*** Prove: 19/09/08
icy-genre:Hip-Hop
icy-url:http://www.theartofweb.net
icy-pub:0
icy-br:80
and

Code: Select all

HTTP/1.1 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/posix v1.6.0rc2<BR>
icy-name:MondoTuccio's Broadcast ***LIVE*** Prove: 19/09/08
icy-genre:Hip-Hop
icy-url:http://www.theartofweb.net
Content-Type: audio/mpeg
icy-pub:0
icy-br:80
thanks
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: ICY and HTTP

Post by Jay »

To a client such as winamp, no there is no difference.
- Jay
bmpsys
Posts: 1
Joined: Sat Feb 16, 2013 10:39 am

Re: ICY and HTTP

Post by bmpsys »

how do you do to see that? by hyperterminal?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: ICY and HTTP

Post by Jay »

actually just open a command prompt and do telnet localhost 8000 if your shoutcast server is running locally

Then issue "GET / HTTP/1.0"

hit the enter key twice and voila!
- Jay
Post Reply