I've been trying to implement some tests using FlashAccess but I'm getting this error when calling the DRMManager.authenticate() method. I'm using Flex Builder 4 and have built both Air and Flash apps attempting to get this call to succeed, but haven't yet.
ArgumentError: Error #3307: Generic internal Flash Access failure.
drmMgr.authenticate("http://mytest.server.com/flashaccess/authn/v1, "server.com", "bobby", "password" );
I've been following the steps given here:
I have performed the system update in step 3 and have event handlers set up, etc.
Any help or insights are very appreciated!!
I know this is an old post but just t let you know, I've run into the same error. It took me a while to figure out that I was passing an empty string (or maybe it was a null value) for username and password. Instead of throwing a meaningful error or authentication failure I saw this 'generic' error. Not very helpful...
If you're developing AIR applications for mobile devices you must give android.permission.WRITE_EXTERNAL_STORAGE permission. This is because when doing DRM the voucher/credentials that gets downloaded (mostly from f4m file) must be saved locally. Then the authentication process is trying to read the voucher from Flash Access server or local but neither is present because it has been downloaded from f4m file not Flash Access server and it also didn't got saved locally. The authentication process is implemented in video player and can be quite different from case to case.
So, in conclusion, give android.permission.WRITE_EXTERNAL_STORAGE permission in you AIR for mobile application.