OSMF1.5 cannot parse DRM info from MBR correctly?

Hi
I'm setting up a OSMF 1.5 based player which plays MBR video content protected by FlashAccess DRM solution. I notice that the drmTrait.drmMetadata is alway null until a valid license has been sent back from server. But our business logic requires sending custom data to server for authentication. In this case, DRMContentData (from drmTrait.drmMetadata) could not be null if I want to send auth token with drmTrait.authenticateWithToken().
In OSMF 1.6 Sprint5, there is an event named DRMState.AUTHENTICATING which will be dispatched when client is requiring the license, in the event, drmTrait.drmMetadata has valid value which can be used for sending custom auto token. But in OSMF 1.5, there is no such event. I tried return auth error from sever so I could get auth error event in client. I hopped that in auth error event, I could access drmTrait.drmMetadata but I failed. It's still null.
I put a similar thread in OSMF forum (http://forums.adobe.com/thread/886810?tstart=0) but no replies yet. I'd appreciate if any one could help.
Thanks.

I've posted an answer in the OSMF thread.
Regards,
Kimi

Similar Messages

  • Adding a column after parsing a info from a text file

    I use the following script to get info from "User Rights Assignment" security policy.  This outputs the policy and the security settings with all the accounts listed.  How can I add another column to the output to say, if one of the accounts
    value for a policy contains a domain account output "Domain Account"
    $temp = "c:\"
    $file = "$temp\privs.txt"
    [string] $readableNames
    $outhash = @{}
    $process = [diagnostics.process]::Start("secedit.exe", "/export /cfg $file /areas USER_RIGHTS")
    $process.WaitForExit()
    $in = get-content $file
    foreach ($line in $in) {
    if ($line.StartsWith("Se")) {
    $privilege = $line.substring(0,$line.IndexOf("=") - 1)
    switch ($privilege){
    "SeCreateTokenPrivilege " {$privilege = "Create a token object"}
    "SeAssignPrimaryTokenPrivilege" {$privilege = "Replace a process-level token"}
    "SeLockMemoryPrivilege" {$privilege = "Lock pages in memory"}
    "SeIncreaseQuotaPrivilege" {$privilege = "Adjust memory quotas for a process"}
    "SeUnsolicitedInputPrivilege" {$privilege = "Load and unload device drivers"}
    "SeMachineAccountPrivilege" {$privilege = "Add workstations to domain"}
    "SeTcbPrivilege" {$privilege = "Act as part of the operating system"}
    "SeSecurityPrivilege" {$privilege = "Manage auditing and the security log"}
    "SeTakeOwnershipPrivilege" {$privilege = "Take ownership of files or other objects"}
    "SeLoadDriverPrivilege" {$privilege = "Load and unload device drivers"}
    "SeSystemProfilePrivilege" {$privilege = "Profile system performance"}
    "SeSystemtimePrivilege" {$privilege = "Change the system time"}
    "SeProfileSingleProcessPrivilege" {$privilege = "Profile single process"}
    "SeCreatePagefilePrivilege" {$privilege = "Create a pagefile"}
    "SeCreatePermanentPrivilege" {$privilege = "Create permanent shared objects"}
    "SeBackupPrivilege" {$privilege = "Back up files and directories"}
    "SeRestorePrivilege" {$privilege = "Restore files and directories"}
    "SeShutdownPrivilege" {$privilege = "Shut down the system"}
    "SeDebugPrivilege" {$privilege = "Debug programs"}
    "SeAuditPrivilege" {$privilege = "Generate security audit"}
    "SeSystemEnvironmentPrivilege" {$privilege = "Modify firmware environment values"}
    "SeChangeNotifyPrivilege" {$privilege = "Bypass traverse checking"}
    "SeRemoteShutdownPrivilege" {$privilege = "Force shutdown from a remote system"}
    "SeUndockPrivilege" {$privilege = "Remove computer from docking station"}
    "SeSyncAgentPrivilege" {$privilege = "Synchronize directory service data"}
    "SeEnableDelegationPrivilege" {$privilege = "Enable computer and user accounts to be trusted for delegation"}
    "SeManageVolumePrivilege" {$privilege = "Manage the files on a volume"}
    "SeImpersonatePrivilege" {$privilege = "Impersonate a client after authentication"}
    "SeCreateGlobalPrivilege" {$privilege = "Create global objects"}
    "SeTrustedCredManAccessPrivilege" {$privilege = "Access Credential Manager as a trusted caller"}
    "SeRelabelPrivilege" {$privilege = "Modify an object label"}
    "SeIncreaseWorkingSetPrivilege" {$privilege = "Increase a process working set"}
    "SeTimeZonePrivilege" {$privilege = "Change the time zone"}
    "SeCreateSymbolicLinkPrivilege" {$privilege = "Create symbolic links"}
    "SeDenyInteractiveLogonRight" {$privilege = "Deny local logon"}
    "SeRemoteInteractiveLogonRight" {$privilege = "Allow logon through Terminal Services"}
    "SeServiceLogonRight" {$privilege = "Logon as a service"}
    "SeIncreaseBasePriorityPrivilege" {$privilege = "Increase scheduling priority"}
    "SeBatchLogonRight" {$privilege = "Log on as a batch job"}
    "SeInteractiveLogonRight" {$privilege = "Log on locally"}
    "SeDenyNetworkLogonRight" {$privilege = "Deny Access to this computer from the network"}
    "SeNetworkLogonRight" {$privilege = "Access this Computer from the Network"}
    $sids = $line.substring($line.IndexOf("=") + 1,$line.Length - ($line.IndexOf("=") + 1))
    $sids = $sids.Trim() -split ","
    $readableNames = ""
    foreach ($str in $sids){
    $str = $str.substring(1)
    $sid = new-object System.Security.Principal.SecurityIdentifier($str)
    $readableName = $sid.Translate([System.Security.Principal.NTAccount])
    $readableNames = $readableNames + $readableName.Value + ", "
    $outhash.Add($privilege,$readableNames.substring(0,($readableNames.Length - 1)))
    (foreach {$outhash.getenumerator() | select Name, Value | sort name})
    remove-item c:\privs.txt

    Hi Sergio,
    To combine the outputs, please use "PSobject" and try the script below, please also note I haven't tested:
    $output=@()
    $temp = "c:\"
    $file = "$temp\privs.txt"
    [string] $readableNames
    $process = [diagnostics.process]::Start("secedit.exe", "/export /cfg $file /areas USER_RIGHTS")
    $process.WaitForExit()
    $in = get-content $file
    foreach ($line in $in) {
    if ($line.StartsWith("Se")) {
    $privilege = $line.substring(0,$line.IndexOf("=") - 1)
    switch ($privilege){
    "SeCreateTokenPrivilege " {$privilege = "Create a token object"}
    "SeAssignPrimaryTokenPrivilege" {$privilege = "Replace a process-level token"}
    "SeLockMemoryPrivilege" {$privilege = "Lock pages in memory"}
    "SeIncreaseQuotaPrivilege" {$privilege = "Adjust memory quotas for a process"}
    "SeUnsolicitedInputPrivilege" {$privilege = "Load and unload device drivers"}
    "SeMachineAccountPrivilege" {$privilege = "Add workstations to domain"}
    "SeTcbPrivilege" {$privilege = "Act as part of the operating system"}
    "SeSecurityPrivilege" {$privilege = "Manage auditing and the security log"}
    "SeTakeOwnershipPrivilege" {$privilege = "Take ownership of files or other objects"}
    "SeLoadDriverPrivilege" {$privilege = "Load and unload device drivers"}
    "SeSystemProfilePrivilege" {$privilege = "Profile system performance"}
    "SeSystemtimePrivilege" {$privilege = "Change the system time"}
    "SeProfileSingleProcessPrivilege" {$privilege = "Profile single process"}
    "SeCreatePagefilePrivilege" {$privilege = "Create a pagefile"}
    "SeCreatePermanentPrivilege" {$privilege = "Create permanent shared objects"}
    "SeBackupPrivilege" {$privilege = "Back up files and directories"}
    "SeRestorePrivilege" {$privilege = "Restore files and directories"}
    "SeShutdownPrivilege" {$privilege = "Shut down the system"}
    "SeDebugPrivilege" {$privilege = "Debug programs"}
    "SeAuditPrivilege" {$privilege = "Generate security audit"}
    "SeSystemEnvironmentPrivilege" {$privilege = "Modify firmware environment values"}
    "SeChangeNotifyPrivilege" {$privilege = "Bypass traverse checking"}
    "SeRemoteShutdownPrivilege" {$privilege = "Force shutdown from a remote system"}
    "SeUndockPrivilege" {$privilege = "Remove computer from docking station"}
    "SeSyncAgentPrivilege" {$privilege = "Synchronize directory service data"}
    "SeEnableDelegationPrivilege" {$privilege = "Enable computer and user accounts to be trusted for delegation"}
    "SeManageVolumePrivilege" {$privilege = "Manage the files on a volume"}
    "SeImpersonatePrivilege" {$privilege = "Impersonate a client after authentication"}
    "SeCreateGlobalPrivilege" {$privilege = "Create global objects"}
    "SeTrustedCredManAccessPrivilege" {$privilege = "Access Credential Manager as a trusted caller"}
    "SeRelabelPrivilege" {$privilege = "Modify an object label"}
    "SeIncreaseWorkingSetPrivilege" {$privilege = "Increase a process working set"}
    "SeTimeZonePrivilege" {$privilege = "Change the time zone"}
    "SeCreateSymbolicLinkPrivilege" {$privilege = "Create symbolic links"}
    "SeDenyInteractiveLogonRight" {$privilege = "Deny local logon"}
    "SeRemoteInteractiveLogonRight" {$privilege = "Allow logon through Terminal Services"}
    "SeServiceLogonRight" {$privilege = "Logon as a service"}
    "SeIncreaseBasePriorityPrivilege" {$privilege = "Increase scheduling priority"}
    "SeBatchLogonRight" {$privilege = "Log on as a batch job"}
    "SeInteractiveLogonRight" {$privilege = "Log on locally"}
    "SeDenyNetworkLogonRight" {$privilege = "Deny Access to this computer from the network"}
    "SeNetworkLogonRight" {$privilege = "Access this Computer from the Network"}
    $sids = $line.substring($line.IndexOf("=") + 1,$line.Length - ($line.IndexOf("=") + 1))
    $sids = $sids.Trim() -split ","
    $readableNames = ""
    foreach ($str in $sids){
    $str = $str.substring(1)
    $sid = new-object System.Security.Principal.SecurityIdentifier($str)
    $readableName = $sid.Translate([System.Security.Principal.NTAccount])
    $readableNames = $readableNames + $readableName.Value + ", "
    $output += New-Object PSObject -Property @{
    privilege = $privilege
    readableNames = $readableNames.substring(0,($readableNames.Length - 1))
    #else = $line."property" }
    $output
    To use PSobject, this article for your reference:
    New-Object PSObject –Property [HashTab
    If you have any feedback on our support,
    please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • SQL developer cannot see connection info from tnsnames.ora file

    Greetings All,
    I have been using sql developer for a while. Currently on 3.0.04.34.
    I have 16 database connections.
    Everything was working fine until yesterday.
    Today when I tried to connect to a database from the list of connections I am getting following error:
    Invalid connection information specified. Verify url format for specified driver.
    When I pull up the property for this connection -connection type is still TNS, Netwrok Alias is now greyed out and what was in Netwrok Alias has shifted to Connect Identifier.
    When I try to create a new connection I do not see entry from tnsnames.ora file for the databse I am trying to connect to in the Network Alias drop down list.
    I can connect to this database from sqlplus.
    Has anyone seen this behavior? Does any one know the fix for this?
    Thanks.

    Hi,
    Maybe your preference settings got corrupted, or the Tnsnames.ora file got moved to somewhere SQL Developer can't find it.
    Are you using either:
    1. Tools|Preferences|Database|Advanced|Tnsnames Directory, or a
    2. TNS_ADMIN environment variable
    to point to your Tnsnames? Having one of those should enable the Network Alias drop-down list to get populated. Otherwise, if the values moved to Connection Identifier are correct, then you won't be to connect in that mode without also having an Oracle client installed with an 11.1 JDBC thick driver (ocijdbc11.dll).
    If there is no issue with the Tnsnames. ora location, it might be a good idea to use Export Connections to make a backup of your connections. Then you can try deleting the connections from SQL Developer and re-importing them. Even if that doesn't fix the problem, you should be no worse off.
    Regards,
    Gary
    SQL Developer Team

  • Cannot parse *.Config file. Ensure you have configured the 'paypal' section correctly.

    I have added PayPal setting in web.config file and I can access paypay from my local. 
    I have copied that setting into web.debug.config and web.release.config but I can't access and I got the error from server.
    May I know what could be the reason?
    Cannot parse *.Config file. Ensure you have configured the 'paypal' section correctly.
    <paypal>
        <settings>
          <add name="mode" value="sandbox" />
          <add name="connectionTimeout" value="360000" />
          <add name="requestRetries" value="1" />
          <add name="clientId" value="xxx" />
          <add name="clientSecret" value="ccc" />
        </settings>
      </paypal>

    You can't add arbitrary application configuration to web.config, as that is used by Web API. Instead, add a configuration setting in the "app settings" section of the Configure tab in the portal.

  • I am a resident of Canada. I cannot purchase any items from ITunes Store because I cannot update my billing address correctly. It is always default to US address. Why?

    I am a resident of Canada. I cannot purchase any items from ITunes Store because I cannot update my billing address correctly. It is always default to US address. Why?

    iTunes Store: Changing Account Information
    http://support.apple.com/kb/HT1918
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Apple ID Support - Manage Account
    http://www.apple.com/support/appleid/manage/
    Switching an iTunes Store account to a different country
    http://www.ilounge.com/index.php/articles/comments/switching-an-itunes-store-acc ount-to-a-different-country/
     Cheers, Tom

  • TS3297 I Cannot update or purchase from itunes because of this error " We were unable to authorize your payment card for this purchase please update your billing info " this error is beacuse my brother tried to purchase some game worth 38$ which i dont ne

    I Cannot update or purchase from itunes because of this error " We were unable to authorize your payment card for this purchase please update your billing info " this error is beacuse my brother tried to purchase some game worth 38$ which i dont need it and i want to report a problem for this issue and able to get update my apps

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History.

  • New Ipad and cannot sync contacts; error message unable to load data class info from sync services; reconnect or try again later

    new Ipad and cannot sync contacts; error message on Itunes - unable to load data class info from sync servies; reconnect or try again later

    For Windows - look at this.
    http://support.apple.com/kb/TS1567?viewlocale=en_US
    For Mac - maybe this applies
    http://support.apple.com/kb/TS3744
    I just picked these out by going to the box to the right called - More like This.

  • Trying to add HP Photosmart C4280 via airport express. "Add Printer" correctly finds printer as Bonjour kind but "add Printer" cannot find printer software from Apple

    trying to add HP Photosmart C4280 via airport express. "Add Printer" correctly finds printer as Bonjour kind but "add Printer" cannot find printer software from Apple (although it says that the software is available from Apple)

    Rfh723-
    You are technically way ahead of me, so I can't argue with what you did.
    How about an even simpler WiFi network consisting of only the AirPort connected by an Ethernet cable to the printer?  If the iPad still can't find the printer when connected to this network, then something is broken!
    (Also try a different Ethernet cable.)
    Fred

  • The ios8 update is causing innumerable problems with my ipad. The info from my calendar just disappeared, I am typing blind with the keyboard most of the time, and I cannot upload pics or paste to FB. When will this be fixed and what can I do in the

    The ios8 update is causing innumerable problems with my ipad. The info from my calendar just disappeared, I am typing blind with the keyboard most of the time, and I cannot upload pics or paste to FB. When will this be fixed and what can I do in the Meantime?

    Have you tried yesterday's update to iOS8.0.2?
    iOS 8.0.2
    This release contains improvements and bug fixes, including:
      •  Fixes an issue in iOS 8.0.1 that impacted cellular network connectivity and Touch ID on iPhone 6 and iPhone 6 Plus
      •  Fixes a bug so HealthKit apps can now be made available on the App Store
      •  Addresses an issue where 3rd party keyboards could become deselected when a user enters their passcode
      •  Fixes an issue that prevented some apps from accessing photos from the Photo Library
      •  Improves the reliability of the Reachability feature on iPhone 6 and iPhone 6 Plus
      •  Fixes an issue that could cause unexpected cellular data usage when receiving SMS/MMS messages
      •  Better support of Ask To Buy for Family Sharing for In-App Purchases
      •  Fixes an issue where ringtones were sometimes not restored from iCloud backups
      •  Fixes a bug that prevented uploading photos and videos from Safari
    For information on the security content of this update, please visit this website:
      http://support.apple.com/kb/HT1222

  • HT201320 Hi, I cannot access my gmail from my iphone. The password is correct and I can access fine from my computer but the iphone keeps telling me the password is incorrect. Any ideas?

    Hi, I cannot access my gmail from my iphone. The password is correct and I can access fine from my computer but the iphone keeps telling me the password is incorrect. Any ideas?

    I believe Gmail has an option for Two-Step verification that may require a different password for mobile devices than for your computer.
    https://support.google.com/mail/answer/2703311?hl=en

  • Cannot connect to FB from "Settings" after IOS 6 - the FB-app works correctly

    Cannot connect to FB from "Settings" after IOS 6 - the FB-app works correctly - but logging in from the settings to be able to "match" my contacts just doesn´t work. It just keeps "porcessing", when I try to login. Any good advice?

    I found a fix. I hope this helps.
    http://www.dencio.com/2012/01/fixed-facebook-20-and-twitter-20-for.html
    I hope it works for you.
    Dencio

  • HT1918 Please help!!! I cannot update all my free installed programs on my iPhone 4S. I want to remove my credit card info from my Appe ID but there is no none !!!

    Please help!!! I cannot update all my free installed programs on my iPhone 4S. I want to remove my credit card info from my Appe ID but there is no none !!!

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

  • Am useing a PC. Have Photoshop CS5, suddenly cannot move Raw files from bridge (or anywhere else) into photoshop. Jpeg move into photoshop ok, did get error message 1 what do I do to correct this                om bridge (or anywhere else for that matter)

    Useing a PC
    Have Photoshop CS5
    Suddenly cannot move Raw Files from Bridge (or anywhere else) into photoshop.
    I Can move Jpegs into ps the only issue is with Raw files
    I did get error1 message but as do not know what that means its no help
    any suggestions?

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Cannot continue using the beta as it prints out my emails & info from websites as unreadable info. Are you working on this?

    When I print out emails or info from web pages such as bank statements, the text comes out very small, out of order, not spaced properly. I had to switch back to the regular firefox browser because I was wasting too much paper.

    There is a known bug involving printing in beta 12 that has been fixed in the Firefox 4 release candidate which has just been released.

  • Cannot Edit Song Info

    I have several MP3 files that I cannot edit the info for. I just noticed/incurred this issue after upgrading to iTunes 9.0.0.70. After the iTunes 9.0.1.8 upgrade, I am still having the issue.
    When I try to click into a field, the cursor does not appear. When I right-click and choose "Get Info," everything is grayed out.
    This happens to MP3 files downloaded from the internet, MP3 files that I create/record myself on my PC, and also MP3 files ripped from CD. It does not happen with every MP3, though. Also, it can happen with some MP3 files from the same source as others that I can edit.
    One note is that I can find the file via Windows Explorer and physically edit the properties of the MP3 files using the "Advanced" properties. As soon as I change the title, author, album, etc. and play the song in iTunes, all of the correct/adjusted fields show.
    Another note that I have noticed on one particular pair of editable/non-editable MP3 files from the same source is that one is recognized as ID3 Tag v2.2 and one is ID3 Tag v2.3.
    Is this a known iTunes 9.0 bug or is there a fix for this issue?

    OK...Here's something to complicate the matter for you:
    I just went through some of my older MP3 files, some that I have customized the info on, and all of the info was grayed out and uneditable. I went through a few in a row and found one that I could edit. I closed the window and tried to edit the MP3s again. This time, I found that I could edit all of the ones I could not edit (just 5 seconds earlier) but could not edit the one I previously could edit. After closing the windows and trying a third time, I could edit all of the MP3 files in the list.
    What is up? Apple, are you aware of this issue?

Maybe you are looking for