2 Replies Latest reply on Feb 27, 2013 2:20 PM by Eric.H

    Detecting HDCP Encrypted Content or non-HDCP Supporting Devices

    Derek J Entringer

      I'd like to detect non HDCP supporting devices, and alert users that it is not supported and switch to a lower quality (non-HDCP) stream.

       

      Is there a way from within OSMF to detect if content has been encrypted with Output Protection, and can you detect at what level of protection was added (NO_PROTECTION, NO_PLAYBACK,  etc.)?

        • 1. Re: Detecting HDCP Encrypted Content or non-HDCP Supporting Devices
          Derek J Entringer Level 1

          Found the answer to this question:

           

          By loading the metadata and listening to the DRM errors via the drmManager, you can detect what types of HDCP content can be played correctly on the users device.

          • 2. Re: Detecting HDCP Encrypted Content or non-HDCP Supporting Devices
            Eric.H Adobe Employee

            Here's a more detailed description of what Derek said:

             

            1. Create a policy called “test_for_HDCP” with the restriction “REQUIRED” (using AdobePolicyManager.jar)
            2. Use the policy to package a content dummycontent.f4v (use the AdobePackager.jar tool).  Grab the .drmmeta file that it generates and toss out the encrypted dummycontent.f4v.
            3. Host your dummycontent.drmmeta on a webserver somewhere
            4. On your client/player-application, load the dummycotent.drmmeta and then do DRMManager.loadVoucher()
            5. If you get an error code, computer doesn’t have OP
            6. If you don’t see an error code, computer does have OP

             

            Depending on what you see in step #5 or #6, you can then decide to go down your SD video route, or HD video route.

             

             

            cheers,

            /Eric.