Hello, I am using Icecast v2.4.1 to to stream AAC audio to web clients through jPlayer. If HTML5 is not supported then it uses Flash Player. The problem is that Flash player does not play AAC streams as is, and from a quick google search someonw suggested I append "?type=.flv" to the url. I cannot make it work though as whatever I request, I get a response with mime type "audio/aac". For example (working links): curl "http://148.251.184.14:18002/chr_80s?type=.flv <http://s1.chromaradio.com:18002/chr_80s?type=.flv>" -o /dev/null -D - and curl "http://148.251.184.14:18002/chr_80s <http://s1.chromaradio.com:18002/chr_80s?type=.flv>" -o /dev/null -D - returns mime type "audio/aac". Now I remember that I got it to work some time ago, probably with an older icecast version, and I remember that it was working as expected, and with the extra string at the end I would get mime type "video-x-flv". Does anyone have an idea about the problem ? Also, can anyone point me to the documentation about the type=* option ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20141214/261ad76e/attachment.htm
Hi, On 12/14/2014 04:23 PM, dtouch3d completely wrote:> I am using Icecast v2.4.1 to to stream AAC audio to web clients > through jPlayer. If HTML5 is not supported then it uses Flash Player. > > The problem is that Flash player does not play AAC streams as is, and > from a quick google search someonw suggested I append "?type=.flv" to > the url. I cannot make it work though as whatever I request, I get a > response with mime type "audio/aac".The FLV hack only exists in the KH version maintained by Karl. In case of missing <audio> support, I'd personally recommend to fall back to something like the Muses player: https://www.muses.org/ It supports AAC, if you must use AAC. In a world where Flash is finally going away, I don't think there is a reason for us to support the FLV hack, especially as the above workaround exists. Muses is even open source! HTH & Cheers Thomas
Thanks a lot. Indeed with Flash going away there is no reason for hacks. I will give Muses a try. On Sun, Dec 14, 2014 at 6:34 PM, "Thomas B. R?cker" <thomas at ruecker.fi> wrote:> > Hi, > > On 12/14/2014 04:23 PM, dtouch3d completely wrote: > > I am using Icecast v2.4.1 to to stream AAC audio to web clients > > through jPlayer. If HTML5 is not supported then it uses Flash Player. > > > > The problem is that Flash player does not play AAC streams as is, and > > from a quick google search someonw suggested I append "?type=.flv" to > > the url. I cannot make it work though as whatever I request, I get a > > response with mime type "audio/aac". > > The FLV hack only exists in the KH version maintained by Karl. > > In case of missing <audio> support, I'd personally recommend to fall > back to something like the Muses player: > https://www.muses.org/ > It supports AAC, if you must use AAC. > > In a world where Flash is finally going away, I don't think there is a > reason for us to support the FLV hack, especially as the above > workaround exists. Muses is even open source! > > HTH & Cheers > > Thomas > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20141214/3c2d593a/attachment.htm