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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20050627/0823db73/attachment.html
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@xiph.org [mailto:icecast-bounces@xiph.org] Im Auftrag von Anthony Terrien Gesendet: Montag, 27. Juni 2005 09:43 An: icecast@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
On Mon, 2005-06-27 at 19:33, Michael Kamleitner wrote:> 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 ;)2.2 already sends a content length header for flash clients although with a larger value than what is shown above. It's very unlikely that the other 3 headers will make any difference. karl
Any chance of sharing this Flash Player with the public? ----- Original Message ----- From: "Michael Kamleitner" <michael.kamleitner@play.fm> To: <icecast@xiph.org> Sent: Monday, June 27, 2005 2:33 PM Subject: AW: [Icecast] IE/FLASH/ICECAST 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@xiph.org [mailto:icecast-bounces@xiph.org] Im Auftrag von Anthony Terrien Gesendet: Montag, 27. Juni 2005 09:43 An: icecast@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 _______________________________________________ Icecast mailing list Icecast@xiph.org http://lists.xiph.org/mailman/listinfo/icecast