I am using AVPlay to play DRM contents. I need to set a HTTP header for the license URL. How can I do it?
webapis.avplay.setDrm('PLAYREADY', 'SetProperties', angular.toJson({
LicenseServer:entitlementData.LicenseURL,
'X-AxDRM-Message':entitlementData.DRMToken
}));
I need to set X-AxDRM-Message
in the HTTP header
I figure out how to send multiple Http Headers to DRM License Server. If you want to send multiple http headers, you must seperate them with \n key.
You can try it yourself: