AAC+ stream and embedded flash player

Read 10769 times
I have just started using CentovaCast for our net radio station. I can not get the stream to work in our embedded flash media player. I get the error message "Task Queue Failed at step 5: Playlist could not be loaded due to crossdomain policy restrictions"

It's an AAC+ stream

What do I need to do on the server (or the flash player) to get the stream to play in our flash player?

Andrew
Hello Andrew,

For that you'll have to ask your streaming provider to install a crossdomain.xml file on the server your stream account is hosted on.

I did a quick search for you and found the specs for this file, you can find them here: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

If your streaming provider is not willing to do this, then you'll have to write a php script that fetches the data for you before passing it on to flash.

Hope this helps.
Last Edit: May 03, 2012, 05:56:28 pm by Roger
Thanks Roger. Where on the server do I put crossdomain.xml?

Andrew
Thanks Roger. Where on the server do I put crossdomain.xml?

Andrew

Hello Andrew,

According to Adobe, the file needs to be uploaded to the domain root on which your station is hosted.

If you need further help you'll have to contact the flash developers.

Regards.
FLASH players do NOT work with AAC or AAC+ streams unless the source is transcoded.
AAC+ stream can be played by flash if you use Icecast KH version.

For crossdomain.xml policy file if you use icecast KH stream you need to upload it on the /web folder of icecast or normally  /home/centovacast/vhost/[account name]/web/

You can test if you successfully put the policy file on the right place by just accessing it on http://[server ip]:[port]/crossdomain.xml

hope that helps.