Skip to main content

DrmManager

Per-player coordinator that wires DRM-related native events (license and certificate requests/responses, FairPlay key requests, DRM system changes) to the currently selected DrmEnvironment.

For each Player the SDK installs a DrmManager via DrmPlayerExtension. When content is opened, the manager resolves the environment named in the DrmConfiguration from DrmEnvironmentRepository and uses the resulting adapter to:

  • rewrite outgoing license/certificate URLs,
  • invoke the environment's request/response modifiers,
  • extract FairPlay content IDs.

Applications normally do not instantiate this class directly — register a DrmEnvironment with DrmEnvironmentRepository.register instead and the player will use it automatically.