Hi all,
I’ve trouble when integate azure media service widevine delivery in wowza streaming engine
I follow this artice https://docs.microsoft.com/en-us/azure/media-services/media-services-deliver-keys-and-licenses to setup azure drm delivery. It provide some impotant information to configure in wowza:
content key, key id, license acquisition URL
How can i configure wowza to encrypt VOD with information above?
arcording to https://www.wowza.com/docs/how-to-secure-mpeg-dash-streaming-using-common-encryption-cenc#cenc_widevine
I see some code module:
but I don’t see anything config license acquisition URL
public void onHTTPMPEGDashEncryptionKeyVODChunk(HTTPStreamerSessionMPEGDash httpSession, IHTTPStreamerMPEGDashIndex index, CencInfo cencInfo, long chunkId)
{
// set CENC key info
cencInfo.setAlgorithm(CencInfo.ALGORITHMID_CTR);
cencInfo.setKID(Base64.decode("ApS5WZ11XeK78P3KP6Xqtw=="));
cencInfo.setEncKeyBytes(Base64.decode("O9ovQDRMfe9hQie5wPA+Jg=="));
// add Widevine DRM info
CencDRMInfoWidevine drmInfo = new CencDRMInfoWidevine();
drmInfo.setSystemId("edef8ba9-79d6-4ace-a3c8-27dcd51d21ed");
drmInfo.setPsshData(Base64.decode("CAESEAKUuVmddV3iu/D9yj+l6rcaDXdpZGV2aW5lX3Rlc3QiEGZrajNsamFTZGZhbGtyM2oqAlNEMgA="));
cencInfo.addDRM("myWidevineDRM:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed", drmInfo);<br>