Stream Player?

Talk about Audio On Demand or Streaming
Post Reply
Mike30
Posts: 1
Joined: Wed Mar 26, 2008 5:24 pm

Stream Player?

Post by Mike30 »

Hi,

i am currently developing a mp3 player at university (homework). At the time i can play mp3 files. Now i must add the ability to play from an audio stream. After some reading thr protocoll i stuck.

I send this to the Server:

DataOut.writeBytes("GET " + httpfile + " HTTP/1.0 \r\n");
DataOut.writeBytes("Icy-MetaData:1 \r\n");
DataOut.writeBytes("\r\n");

I recieve a response from the server:

HTTP/1.0 200 OK2
icy-caps:11

If i understood the protocoll correct i should recieve a:

ICY 200 OK

Maybe someone can help me.

Best regards
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

You are connecting to the wrong port.
- Jay
Post Reply