I have written a plugin that goes through a flow to establish a DRM key which is then passed in as Custom Data on a license request.
[ExportGenericPluginAttribute(PluginName = "DRMPlugin",
PluginDescription="A plug-in to acquire required DRM tokens to playback content",
In the plugin I wish to do the follwoing which is usally done on MediaPluginLoaded if there was no plugin
ManualLicenseAcquirer manualLicenseAcquirer = new ManualLicenseAcquirer();
manualLicenseAcquirer.ChallengeCustomData = "<xcal-custom-data>" + drmKey + "</xcal-custom-data>";
manualLicenseAcquirer.LicenseServerUriOverride = UriHelper.GetLicenseServierUri();
player.ActiveMediaPlugin.LicenseAcquirer = manualLicenseAcquirer;
What is the best way to do it. If I set it on player I never see the request go out.