> Thanks for the network dumps. As you say, it's weird because Flash, even > when embedded, can access the stream of Icecast2. I already noticed it by > analyzing Icecast2's logs as I wrote in the first message of this topic. > There is something I couldn't see in the network dumps: is the embedded > flash DOWNLOADING the stream even if it doesn't play it (with Icecast2)?I don't know if flash is downloading but icecast is sending data for sure. <p>I've tried to strip some useful information from the dumps, Here's the little talk between the client and the server. Keep in mind that when running in embedded mode flash uses the browser to send and receive data. Note that in sucessful tests using icecast 1.3 the client is receving different headers. maybe one of these is responsible of the failure. I'll try installing mozilla and downloading the plug-in. --------------- SUCCESSFUL 2.0 stand alone ---------------------- GET /live HTTP/1.1 Referer: http://192.168.0.242:8000/live User-Agent: Shockwave Flash Host: 192.168.0.242:8000 HTTP/1.0 200 OK Content-Type: audio/mpeg icy-bitrate:0 icy-description:publicvoice.fm online radio icy-name:Streaming with MuSE icy-public:1 icy-url:http://publicvoice.fm Server: Icecast 2.0-alpha2/cvs ------------------------------------------------------------------ --------------- UNSUCCESSFUL 2.0 embedded ------------------------ GET /live HTTP/1.1 Accept: */* x-flash-version: 7,0,14,0 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Host: 192.168.0.242:8000 Connection: Keep-Alive HTTP/1.0 200 OK Content-Type: audio/mpeg icy-bitrate:0 icy-description:publicvoice.fm online radio icy-name:Streaming with MuSE icy-public:1 icy-url:http://publicvoice.fm Server: Icecast 2.0-alpha2/cvs ------------------------------------------------------------------ --------------- SUCCESSFUL 1.3.12 embedded ----------------------- GET /live HTTP/1.1 Accept: */* x-flash-version: 7,0,14,0 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Host: 192.168.0.242:8000 Connection: Keep-Alive HTTP/1.0 200 OK Server: icecast/1.3.12 Content-Type: audio/mpeg Cache-Control: no-cache Pragma: no-cache Connection: close Content-Length: 54000000 x-audiocast-location: Just west of Mars x-audiocast-admin: kirk@enterprise.space x-audiocast-server-url: http://www.icecast.org/ x-audiocast-mount:/live x-audiocast-name:Streaming with MuSE x-audiocast-description:publicvoice.fm online radio x-audiocast-url:http://publicvoice.fm x-audiocast-genre:icecast x-audiocast-bitrate:0 x-audiocast-public:1 ------------------------------------------------------------------ --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
<?xml version="1.0" ?> <head> <title></title> </head> <body> <div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> you only have the header info in this, for protocol break up the actual</span></font></div> <div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> contents are needed.</span></font></div> <div align="left"><br/></div> <div align="left"><font face="Arial"><span style="font-size:10pt">OK! It took shorter than I tought.</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Here are 3 new dumps</span></font></div> <div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">http://www.sardegnaoggi.it/downloads/tcpdump.zip</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Another useful hint.</span></font></div> <div align="left"><font face="Arial"><span style="font-size:10pt">In the successful tests using icecast 1.3 I login using x-audiocast login (http: login doesn't see to work).</span></font></div> <div align="left"><font face="Arial"><span style="font-size:10pt">I the unsuccessful tests using icecast 2.0 I login using http login as x- audiocast doesn't see to work in this case.</span></font></div> </body> --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi Assorgia, Thanks for the network dumps. As you say, it's weird because Flash, even when embedded, can access the stream of Icecast2. I already noticed it by analyzing Icecast2's logs as I wrote in the first message of this topic. There is something I couldn't see in the network dumps: is the embedded flash DOWNLOADING the stream even if it doesn't play it (with Icecast2)? I thought the problem might be a security issue, so I read all security whitepapers on Flash player but I think it doesn't apply to media files. See one example at http://www.macromedia.com/devnet/mx/flash/articles/fplayer_security.html. Crossdomain or Sandbox issues should occur with data but not with media. Maybe, the modifications in Icecast2 streams make flash believe the file is corrupted or unsecured. Because you wrote "I the unsuccessful tests using icecast 2.0 I login using http login as x- audiocast doesn't see to work in this case." I tried to change my php script with the following line: fputs($sock, "protocol: \"x-audiocast\"\n"); instead of fputs($sock, "protocol: \"http\"\n"); but it didn't solve the problem Cheers, MAX _____ From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org] On Behalf Of assorgia@tin.it Sent: Tuesday, December 02, 2003 8:56 PM To: icecast@xiph.org Subject: RE: [icecast] Icecast in Macromedia Flash> you only have the header info in this, for protocol break up the actual> contents are needed.OK! It took shorter than I tought. Here are 3 new dumps http://www.sardegnaoggi.it/downloads/tcpdump.zip Another useful hint. In the successful tests using icecast 1.3 I login using x-audiocast login (http: login doesn't see to work). I the unsuccessful tests using icecast 2.0 I login using http login as x- audiocast doesn't see to work in this case. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered. <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.