Azure-docs: Missing information about error hresult

Created on 8 Mar 2019  Â·  16Comments  Â·  Source: MicrosoftDocs/azure-docs

My customer did dynamic encryption to HEVC + Dynamic Packaging (HLS) and checked HLS CMAF URL, then "MPE_ENC_ENCRYPTION_NOT_SPECIFIED_IN_URL" response returned. We can assume the response means from context of the result however I couldn't find any information of the response (what it means exactly, what need to do to solve, etc.) in the documentation as far as I searched. Would you please document about error hresult(s)? Thanks.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-enhancement media-servicesvc triaged

All 16 comments

@kazshi Thanks for your feedback! We will investigate and update as appropriate.

@kazshi, Your feedback has been shared with the content owner for further review on this ask.

@AjayKumar-MSFT @Juliako It would be great if you could provide information about "MPE_ENC_ENCRYPTION_NOT_SPECIFIED_IN_URL" for now since my customer is waiting for that. Thanks.

@Kazshi, Sorry for the delay! We have been discussing on this internally with the product team and will get back to you soon.

@kazshi, from the product team: "MPE_ENC_ENCRYPTION_NOT_SPECIFIED_IN_URL" means request requires encryption tag in URL.

@Juliako Thank you for the information about the "MPE_ENC_ENCRYPTION_NOT_SPECIFIED_IN_URL".
Now I got a question about "MPE_ENC_ENCRYPTION_NOT_SET_IN_DELIVERY_POLICY", I can assume the code means encode(?) encryption needs to be set in delivery policy but I'm not sure which content page (the following page?) I should provide to my customer for resolving the issue.

Configure asset delivery policies with .NET SDK | Microsoft Docs
https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-dotnet-configure-asset-delivery-policy
or
Use AES-128 dynamic encryption and the key delivery service | Microsoft Docs
https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-protect-with-aes128

Before looking into how the asset is published or DRM configured, could you try the following first?
If the HLS/CMAF URL is not under FairPlay protection, please use this format string (after /manifest): (format=m3u8-cmaf).
If the HLS/CMAF URL is under FairPlay protection, please use this format string (after /manifest): (format=m3u8-cmaf,encryption=cbcs-aapl).

If CMAF is used and under DRM protection, encryption must be specified.

@willzhan Thanks for you advice. I provided it to my customer.

@kazshi, Thanks for the update! We will close this out, but if you feel you need more information please just let us know.

@AjayKumar-MSFT Could you please reopen this? I have no way to track the content updates if this was closed. Thanks.

Thank you kazshi, we have re-opened the GitHub issue.

@kazshi, @AjayKumar-MSFT , i updated the doc accordingly https://docs.microsoft.com/en-us/azure/media-services/latest/content-protection-overview#streaming-protocols-and-encryption-types

please-close

@CHEEKATLAPRADEEP-MSFT @AjayKumar-MSFT @Juliako I cannot find information the hresult code ("MPE_ENC_ENCRYPTION_NOT_SPECIFIED_IN_URL" and "MPE_ENC_ENCRYPTION_NOT_SET_IN_DELIVERY_POLICY") in this content, Where can I find?

@Juliako I verified the updates. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdcoder2 picture bdcoder2  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

Favna picture Favna  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments