How can I allow BitmapData.draw on an HDS video loaded via OSMF

520 Views Asked by At

I am loading HDS video (an .f4m file) using OSMF and want to draw the video to a BitmapData. I am currently getting the following error:

Exception fault: SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: [url ommitted] cannot access null. No policy files granted access.

If I were just using a plain NetStream I believe I could fix this by setting .checkPolicyFile to true.

Is this the case, and how can I achieve the same in OSMF?

0

There are 0 best solutions below