Good day everybody, i have one question:
I'm using Flex 3 to load and play streaming MP3 media and i'm using computeSpectrum
function. There is one note on Adobe documentation about this function that it can not be used with microphone and streaming media. But when i launched my application on my local PC it works great and when i moved it on my live server it stopped working. Why it works great on local machine but dont work on server?
I'm using the following code:
var request:URLRequest = new URLRequest(MY_STREAM_URL);
var loader:URLLoader = new URLLoader(request);
if (CurrentChannel != null)
{
CurrentChannel.stop();
}
MainSound = new Sound(request, new SoundLoaderContext(1000, true));
CurrentChannel = MainSound.play(0, 10);
and i'm using the following visualization component: http://www.brighthub.com/hubfolio/matthew-casperson/articles/55622.aspx