Skip to content

Allow to support end-to-end SDP#10

Open
ajutras-linaro wants to merge 1 commit into
linaro-mmwg:chromium-53.0.2785.143from
ajutras-linaro:MMWG-30
Open

Allow to support end-to-end SDP#10
ajutras-linaro wants to merge 1 commit into
linaro-mmwg:chromium-53.0.2785.143from
ajutras-linaro:MMWG-30

Conversation

@ajutras-linaro

Copy link
Copy Markdown

Add the support for providing the sub-sample data to the CDMi service.
Maintain the support for non-SDP and for SDP prototype. Define some
macros (OCDM_SDP_*) to customize the implementation for non-SDP,
SDP prototype and end-to-end SDP.

Add the support for providing the sub-sample data to the CDMi service.
Maintain the support for non-SDP and for SDP prototype. Define some
macros (OCDM_SDP_*) to customize the implementation for non-SDP,
SDP prototype and end-to-end SDP.

Signed-off-by: Alexandre Jutras <alexandre.jutras@linaro.org>

@petegriffin petegriffin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM



/* OpenCDM Secure Data Path configuration */
/* SDP disabled: OpenCDM do not use SDP. When OCDM_SDP is not defined, SDP

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the good documentation of the various configurations! We may also need to copy some of this into the OE recipe that sets the flags.

void SelectSession(const std::string& );
bool IsTypeSupported(const std::string& keySystem,const std::string& mimeType);
int Decrypt(unsigned char*, uint32_t, unsigned char*, uint32_t);
int Decrypt(unsigned char*, uint32_t, unsigned char*, uint32_t, uint32_t *, uint32_t, int, uint32_t);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajutras-linaro Are we changing WPE gstreamer decryptor code as well?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you can see the proposed changes at: ajutras-linaro/WebKitForWayland#1. Thinking about it, there are better options to handle the change in API (example: function overloading). I will implement a better solution for the next patch set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants