OpenRTMFP / Cumulus

CumulusServer is a complete open source and cross-platform RTMFP server extensible by way of scripting
http://groups.google.com/group/openrtmfp-cumulus
GNU General Public License v3.0
593 stars 221 forks source link

SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://localhost/RecebedorCumulus/RecebedorCumulus.swf cannot access rtmfp://localhost:1985/. No policy files granted access. #34

Closed anderflash closed 12 years ago

anderflash commented 13 years ago

I got this error:

SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://localhost/ReceiverCumulus/ReceiverCumulus.swf cannot access rtmfp://localhost:1985/. No policy files granted access.

I need to capture the Bitmap from the Video with the NetStream attached. As a test, the video appears correctly. I put crossdomain.xml in localhost and localhost/ReceiverCumulus, but it's not the problem. The problem is the cumulus policy. How can I do it?

I used Security.allowDomain, allowInsecureDomain and loadPolicy, but without success.

To reproduce this problem, run the cumulusservice and create a client to publish the webcam and another client to receive the webcam, but attaching this netstream to a video and using bitmapData.draw(video), showing the bitmap, not the video.

anderflash commented 12 years ago

See this link for the answer

https://github.com/OpenRTMFP/Cumulus/issues/43

Issue closed.