locked
How to use a PMP Media Session and Output Protection Manager with HTML5/JavaScript? RRS feed

  • Question

  • I am creating Windows 8 Modern UI application with HTML5/JavaScript.
    This application has a function which plays the original video stream encoded by the generally codecs(MPEG-2, H.264, etc... ).
    I want to protect the playback video contents.

    That is, this application wants to play video using PMP media session.
    And wants to validate the contents encryption function of HDCP or DPCP.
    And I want to implement these functions by HTML5/JavaScript.

    Although I scrutinized MSDN in detail, a sample code or document of the contents for which I wish were not found.
    May I have any advice to me?

    Regards,
    vsync

    Tuesday, September 25, 2012 5:18 AM

All replies

  • Hi,

    Please refer to: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371827(v=vs.85).aspx.

    Any more question, please feel free to reply.


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    Wednesday, September 26, 2012 8:25 AM
  • Thank you for a reply.
    However, I have already finished investigating those sample codes.
    The information which is helpful was not included in these.

    In the application which I am creating, the video stream is played by the following structure.
    - Custom-made "ByteStreamSchemeHandler" was created.
    - The main part of application is created by HTML5/JavaScript.
    - "Windows.Media.MediaExtensionManager" was used with JavaScript and "ByteStreamSchemeHandler" was registered.
    - The MPEG stream stored as resource data of application was played as a byte stream.

    Now, playback of an MPEG file was successful by the above-mentioned structure.
    Of course, it was performed in the Modern UI environment.

    I want to enable output protection simply in this state("Modern UI" environment).
    That is, I would like to validate encryption function of HDCP or DPCP.
    Is there any helpful information or sample code?

    Regards,
    vsync

    Friday, September 28, 2012 10:16 AM