Copy link to clipboard
Copied
Problem Description:
bitmapdata.draw() running on ENTER_FRAME, if a movie start to play (RTMP/RTMFP) one sandbox violation occurs but bitmapdata.draw() still running, if fullscreen is activated the sandbox violation is occuring on every bitmapdata.draw() request, occuring bitmapdata.draw() to stop to work. Issue also appearing if an AS2 swf is loaded and play a movie.
this issue is also persistent despite of:
- crossdomain.xml at root of the website
- Security.allowDomain("*");
- Security.checkPolicyFile()
- AudioSampleAccess and VideoSampleAccess to true with "/" on the server
- Security.exactSettings to false
Steps to Reproduce:
1) start bitmapdata.draw() or bitmapdata.drawWithQuality() the stage on Timer(40) or ENTER_FRAME.
2) start to play a movie from (RTMP/RTMFP),
3) activate the fullscreen
Actual Result:
SecurityError: Error #2123: Security sandbox violation: BitmapData.drawWithQuality: https://xxxxx swf cannot access unknown URL. No policy files granted access.
Expected Result:
No Sandbox violation when all security settings are correctly set according to the documentation
Any Workarounds:
Not found for now
Copy link to clipboard
Copied
Update: the issue occurs only if I use fullscreen with rectangle while bitmapData.drawWithQuality() is occuring in an enterFrame function.
Anyone has an answer or is it a bug?
Copy link to clipboard
Copied
update2: sandbox violation is appearing also when a NetStream is closed, whatever if the NetStream is on the same sub domain or not.
NetStream.close(), NetStream.dispose() and videoContainer.attachNetStream(null) causes a sandbox violation.
NOTE: I'm trying to bitmapData.drawWithQuality() the entire stage where there are some NetStreams playing...
Copy link to clipboard
Copied
Update3: for now the only work around is to do NetStream.play(false) to stop the netstream rather than NetStream.close() or NetStream.dispose(). Also remove all videoContainer.attachNetStream(null);
Copy link to clipboard
Copied
update4:
manipulating attachNetstream() while bitmapdata.draw() is active create and sandbox violation:
the only way to work around for play() is to call attachNetStream() once
the NetStream event "NetStream.Play.Start" occurs. But for the other controls like dispose(), close() or attachNetStream()
creates inevitably a sandbox violation which does not make sense.
So should I open a bug to adobe bug tracker?
Copy link to clipboard
Copied
I have the same problem you described.
Related issue (not the same): Tracker