May 18, 2013 at 2:50 PM
Edited May 18, 2013 at 2:54 PM
Yes, I know that Windows 8 uses a different api.
I creating application based on the drm for a large company, in a version for iOS and Android there is no problem with drm, where everything looks something like this:
playItem.LicenseUri = "blah-licenseManager.asmx";
playITem.MediaSource = "blabla.ism.manifest";
playItem.CustomData = "<ExternalData> <userid> dada </ UserID> <Msisdn> dadada </ MSISDN> </ ExternalData>";
In version SL/WP7/WP8, overrides OnLicenseAcquire and I set CustomData and create custom headers:
request.ContentType = "application / xml";
request.Headers ["referer"] = "http://blablabla/SilverPlayer.xap";
request.Headers ["msprdrm_server_redirect_compat"] = "true";
request.Headers ["msprdrm_server_exception_compat"] = "true";
Without setting a header, always will be redirected.
How do I set the headers when sending license in PlayReady SDK if it's possible?
I look into Filder when i try send license on the server, I always be redirected, as in SL without custom headers.