I am trying to use AVPlay for playing DRM-protected content, but I'm facing an issue with setting a custom HTTP header for the license URL. Can anyone guide me on how to achieve this?
webapis.avplay.setDrm('PLAYREADY', 'SetProperties', angular.toJson({
LicenseServer:entitlementData.LicenseURL,
'X-AxDRM-Message':entitlementData.DRMToken
}));
I specifically need to configure the X-AxDRM-Message
parameter in the HTTP header.