AAC HTML5 audio player in Chrome do not go to fallback
We have setup a test stream using Icecast 2.4.4 and use 2 mountpoint on AAC. And use a simple HTML5 player for testing:
<audio controls preload="none"> <source src="https://streamdnsname/aac" type="audio/mp4" /> </audio>
This is a part of our Icecast config.
<mount> <mount-name>/aac</mount-name> <password>xxxxxxx</password> <public>1</public> <hidden>0</hidden> <fallback-mount>/fk-aac</fallback-mount> <fallback-override>1</fallback-override> <max-listeners>1500</max-listeners> </mount> <mount> <mount-name>/fk-aac</mount-name> <password>xxxxxxx</password> <public>1</public> <hidden>1</hidden> <fallback-mount>/aac.aac</fallback-mount> <fallback-override>1</fallback-override> <max-listeners>1500</max-listeners> </mount>
We kick or stop the /aac mountpoint and the html5 player stop playing. When we listen to a Winamp player and we kick the /aac it works fine we hear the /fk-aac.
We use on both mountpoints exact the same encoder (Sam Cast) CODEC aacPlus 96kb/s (12,0 Kbytes/s) Samplerate 44.1 kHz Stereo
We using Chrome 74.0.3729.131 (Officiële build) (64-bits) on Win7. When i test the same html5 player on Firefox it works fine. We use Firefox 66.0.4
For Chrome HTML player problem we see in Icecast (error log): [2019-05-10 11:50:40] WARN format/format_get_type Unsupported or legacy stream type: "audio/aacp". Falling back to generic minimal handler for best effort.
Look like html5 player on chrome and Icecast using AAC do not work fine.
I already try some other things to use http (not https) or ip address in html5 player code. Other AAC setting for both mountpoints and use html5 player on diffrent PC and chrome. But it not a specific problem on one PC.
I hope there is solution, many listener using the Chrome browser in portals (its my default browser)