Question
Security sandbox violation with SoundMixer
I am using AS3 and FMS2.
Steps to recreate problem:
Step 1: I call SoundMixer.computerSpectrum frequently(on ENTER_FRAME) to update an EQ graph.
Step 2: I open and begin playing an RTMP stream.
As soon as I receive a 'NetStream.Play.Start' event on a NET_STATUS event on the stream, I begin receiving errors every time the SoundMixer.computeSpectrum line occurs. Here is the error:
SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: file:///S|/audioplayer/dashboard.swf cannot access rtmp://localhost/audioplayer. No policy files granted access.
I have read in livedocs for flash media interactive server(FMS3) that there exists a property of the server side Client Object called 'audioSampleAccess' that can enable the flash player to access raw, uncompressed audio data from streams. This property doesn't exist in FMS2(i've tried to add the line in livedocs to my application.onConnect!).
My question is:
Is it possible to access audio data using AS3 SoundMixer on FMS2 streams?
Steps to recreate problem:
Step 1: I call SoundMixer.computerSpectrum frequently(on ENTER_FRAME) to update an EQ graph.
Step 2: I open and begin playing an RTMP stream.
As soon as I receive a 'NetStream.Play.Start' event on a NET_STATUS event on the stream, I begin receiving errors every time the SoundMixer.computeSpectrum line occurs. Here is the error:
SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: file:///S|/audioplayer/dashboard.swf cannot access rtmp://localhost/audioplayer. No policy files granted access.
I have read in livedocs for flash media interactive server(FMS3) that there exists a property of the server side Client Object called 'audioSampleAccess' that can enable the flash player to access raw, uncompressed audio data from streams. This property doesn't exist in FMS2(i've tried to add the line in livedocs to my application.onConnect!).
My question is:
Is it possible to access audio data using AS3 SoundMixer on FMS2 streams?
