Search code examples
htmlflashaudioaacshoutcast

Is it possible to play AAC provided by SHOUTcast with HTML5?


I tried the following code below:

<audio src="http://XXX.XXX.XXX.XXX:XXXX/;" controls autoplay></audio>

I'm using Mac and this code worked fine with Safari but not with Chrome or Firefox.

Is there any solution using only HTML5? If not, can I make a fallback with some Flash open source library? How?


Solution

  • There might be some third party audio player for aac but I will share some links on my vast search I did

    1 - HE AAC support

    As per this post and also wiki pedia HEAAC

    It says chrome supports HE-AAC

    and here is a stack overflow post that will I guess help you to move formward.

    SO AAC support

    And here is another link saying chrome supports **The MP4 container format with the H.264 video codec and either the AAC audio codec or the MP3 audio codec is natively supported by Internet Explorer, Safari and Chrome, but Chromium and Opera do not support the format. Firefox will soon support the format, but only when a third-party decoder is available.

    The MPEG media formats are covered by patents, which are not freely licensed. All the necessary licenses can be bought from MPEG LA. Since H.264 is currently not a royalty free format, it is unfit for the open web platform, according to Mozilla [1, 2], Google [1, 2] and Opera. However, since royalty free formats are not supported by Internet Explorer and Safari, Mozilla has decided to support the format anwyay, and Google never fulfilled their promise to remove support for it in Chrome.**

    LINK : AAC Support

    Please let me know if any of the link is help ful