Module Description
The Digital Rights Management (DRM) framework enables you to develop digital rights management features for audio and video services. By calling the DRM plugins provided by the system, you can achieve the following:
- DRM certificate management: Generate certificate requests and handle certificate responses to facilitate certificate provisioning (downloading).
- DRM media key management: Generate media key requests, manage media key responses, and handle offline media keys.
- DRM content authorization: Allow DRM plugins to authorize content based on media key permissions.
- DRM content decryption: Decrypt DRM content to support media playback functionality.
NOTE
The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Modules to Import
import { drm } from '@kit.DrmKit';