does MF provide native WMDRM decryptor? RRS feed

  • Question

  • Does Media Foundation provide native WMDRM decryptor that can send WMDRM-decrypted content in frames downstream to decoder and transcoder in PMP?

    Tuesday, May 8, 2007 6:33 PM


  • If you have an instance of a Media Source for WMDRM-protected content, you can get its IMFInputTrustAuthority (via IMFTrustedInput), and this interface has a GetDecrypter method.  Note, though, that this decrypter doesn't get "unlocked" until the Input Trust Authority is satisfied that the required policy will be enforced, which is after policy negotiation happens.  (The Media Session takes care of policy negotiation.)


    Generally, you don't need to instantiate one of these things yourself, since the Media Foundation Topology Loader (IMFTopoLoader) will find and insert the appropriate decrypter downstream of the Media Source when the Media Source's output is protected.

    Thursday, June 14, 2007 6:22 PM