[Icecast] IE, flash and icecast
Jonathan Addleman
jono at redowl.ca
Sat Feb 2 18:46:57 UTC 2008
I'm having trouble getting an IE client to hear mp3 streams through a
flash player. It appears to be the same problem as described at
http://icecast.imux.net/viewtopic.php?t=2039 - the flash player connects
to the icecast server and begins downloading the audio data, but never
actually plays it.
I've tried all the suggestions from that thread - I patched icecast so
that the Content-length is larger (tried all the suggested values -
319324133, 999999999, 600000000) and put the swf on the icecast server's
web directory. Is there anything else I can try?
Oddly enough, this is a problem on one computer, but not the others I've
tried. In capturing the traffic with wireshark, I found that the broken
computer looked sent this (I blanked out some bits, obviously)
GET **** HTTP/1.1
Accept: */*
Referer: *****
x-flash-version: 9,0,28,0
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322)
Host: *****
Connection: Keep-Alive
and the working computer like this:
GET **** HTTP/1.1
Accept: */*
Accept-Language: en-US
Referer: ****
x-flash-version: 9,0,115,0
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: ****
Connection: Keep-Alive
The only differences are the slightly different flash version (9,0,28,0
and 9,0,115,0) and the old .NET version on the broken computer. I've
since tried updating flash and .NET on the broken computer, and
installed .NET on the working one with no change at all.
In both cases, icecast sends back the identical response (with the
updated content-length):
HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-name:no name
icy-pub:0
Server: Icecast 2.3.1
Content-Length: 319324133
Surely this is a problem that has been encountered before! Let me know
if there's any other wireshark captures that might help, or anything
else. Thanks!
--
Jon-o Addleman - http://www.redowl.ca
More information about the Icecast
mailing list