none
Using azure media services for license delivery RRS feed

  • Question

  • Hi,

    We want to use azure media services for license delivery of widevine/playready/fairplay. Our content is not uploaded to azure. We want to use azure media services for license delivery and encrypt/store content in our on-premises servers.

    1. For license delivery, should we create content key in azure? As per docs we need to create content key when we upload content to azure. If we use azure for license delivery only should we create content key?

    2. How to get the license delivery URL to give to our player?

    3. As per docs we need to send JWT to license delivery server to get the license. Can you please give us REST API docs to know the license request format? Also how to generate JWT? Any specific method to generate JWT?


    Tuesday, October 29, 2019 9:22 AM

All replies

  • Please let me know how to achieve this usecase using media-service V3.
    • Edited by Learnyst Tuesday, October 29, 2019 12:53 PM
    Tuesday, October 29, 2019 12:53 PM
  • Hi Learnyst,

    I'm exactly 100% sure this edge case is support by Azure Media Services. I've reached out to the product team and currently awaiting a response. As soon as I get it, I'll update the post.


    Thanks in advance, Ryan

    Tuesday, October 29, 2019 5:07 PM
    Moderator
  • This workflow is not supported when using Azure Media Services V3 and there currently isn't a plan to support this workflow in the future.
    Tuesday, October 29, 2019 6:15 PM
    Moderator
  • Hi,

    1. As per media-services V2 docs, we can use azure media services for delivering DRM licenses. 

    https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-deliver-keys-and-licenses

    Some customers want to use Media Services only to deliver licenses and/or keys and encode, encrypt, and stream by using their on-premises servers. This article describes how you can use Media Services to deliver PlayReady and/or Widevine licenses but do the rest with your on-premises servers.

    2. We want to use azure media services for the above scenario. Is this scenario not supported using V3?

    3. If V3 does not support this scenario, can we use V2 api itself?

    4. Also since V2 support this scenario, and also in migrating V2 to V3 guide there is no limitation about this scenario in V3. So is there a alternate way to achieve this in V3? If V3 does not support it yet, we want to try this scenario with V2 itself.

    Thanks

    Below is the flow in V2:


    • Edited by Learnyst Wednesday, October 30, 2019 5:10 AM
    Wednesday, October 30, 2019 3:22 AM
  • Apologies for the delay and frustrated experience with this issue. 
    Thanks for a detailed description of the scenario! We wish to engage with you offline further for a closer look and provide a specialized assistance, could you kindly send an email to AzCommunity[at]Microsoft[dot]com referencing this thread. We look forward to your reply.
    Thanks for your co-operation and patience! 


    Friday, November 1, 2019 5:30 AM
    Moderator
  • Hi,

    1. As per media-services V2 docs, we can use azure media services for delivering DRM licenses. 

    https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-deliver-keys-and-licenses

    Some customers want to use Media Services only to deliver licenses and/or keys and encode, encrypt, and stream by using their on-premises servers. This article describes how you can use Media Services to deliver PlayReady and/or Widevine licenses but do the rest with your on-premises servers.

    2. We want to use azure media services for the above scenario. Is this scenario not supported using V3?

    3. If V3 does not support this scenario, can we use V2 api itself?

    4. Also since V2 support this scenario, and also in migrating V2 to V3 guide there is no limitation about this scenario in V3. So is there a alternate way to achieve this in V3? If V3 does not support it yet, we want to try this scenario with V2 itself.

    Thanks

    Below is the flow in V2:


    Hi Learynst,

    Due to the complicated nature of supporting DRM license delivery that is hosted outside Media Services and not utilizing the built-in architecture, the team decided to omit this workflow in order to delivery a better experience on the Media Services platform. If you want to migrate to V3, you will need to leverage server side encryption.

    V2 will continue to work but at some point will be deprecated.


    Thanks in advance, Ryan

    Friday, November 1, 2019 7:17 PM
    Moderator