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.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@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
@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!