AW: [Icecast] IE/FLASH/ICECAST

Michael Kamleitner michael.kamleitner at play.fm
Mon Jun 27 18:33:01 UTC 2005


hi,

icecast 2.2.0 has to be patched slightly to work with flash-players using
the sound-object - cant find the exact link to this, maybe one of the
developers can explain? I just added 4 lines at the end of
format_mp3_send_headers() in format_mp3.c:

sock_write(client->con->sock, "Cache-Control: no-cache\r\n");
sock_write(client->con->sock, "Pragma: no-cache\r\n");
sock_write(client->con->sock, "Connection: keep-alive\r\n");
sock_write(client->con->sock, "Content-Length: 54000000\r\n");

can't remember why that is need, but it was necessary to get it work ;)

greets,
mike


-----Ursprüngliche Nachricht-----
Von: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] Im Auftrag
von Anthony Terrien
Gesendet: Montag, 27. Juni 2005 09:43
An: icecast at xiph.org
Betreff: [Icecast] IE/FLASH/ICECAST


Hello,

I've created a macromedia flash player in order to play icecast mp3
streaming.
Icecast is configued on the port 8000 and It's ok with winamp.
In my flash movie, I've used loadSound("<streaming>",true) on a Sound
object. 
It's ok on Mozilla based browsers but
some user don't have sound on Internet Explorer.

D't understand? Is there an issue?

Thx




More information about the Icecast mailing list