Hi All,
I am using RED5(0.7.0) Flash server to create an audio streaming application using flex 3.0. In this application I want to show the spectrum graphics for streamed audio.
When I load the audio stream flash application throws security error inside the soundmixer.computespectrum function.
Error message:
Error #2123: Security sandbox violation: SoundMixer.computeSpectrum:
http://appServer/audioRecorder.swf?x=7514.415487604303 cannot access
rtmp://red5Server/oflaDemo/. No policy files granted access.
I have tried some possible solutions available on internet things to resolve this issue, but no success. Some of the solutions are as follows:
1.Updated the red5-web.xml with following xml Node:
<bean id="rtmpSampleAccess" class="org.red5.server.stream.RtmpSampleAccess">
<property name="audioAllowed" value="true"/>
<property name="videoAllowed" value="true"/>
</bean>
2.Added the crossdomain.xml on Red-5 server.
Can anyone come across the same problem and found some way to resolve this issue?
As graphical spectrum computation works well for sound object, Can we show same using RED5 server for streaming audio?
Any help to resolve this issue is appreciated. Thanks in advance.
Thanks,
Shailesh
sskadam21@gmail.com