I have used Azure Media Service to store the encrypted videos & I am using Widevine DRM to secure the video playing on an Android App.
Exo player needs .mdp file URL & Widevine License URL in Android setup.
val drmCallback = HttpMediaDrmCallback(drmLicenseUrl, licenseDataSourceFactory)
Can someone help me to fix below issues:
- From where will I get the
Widevine License URLto play the video in Exo Player? - Can I use Azure Media Service for Widevine License delivery? If yes then please suggest documentation?
Thanks in Advance.
Yes, you can use Azure Media Services to deliver Widevine licenses. See https://learn.microsoft.com/en-us/azure/media-services/latest/drm-content-protection-concept and https://learn.microsoft.com/en-us/azure/media-services/latest/drm-widevine-license-template-concept
Once a locator has been created with Widevine key license delivery, the Widevine License Url will be exposed in the DASH manifest.
It will be something like