Stream Player?
Stream Player?
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
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