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.
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.