• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Drm
2
3## Overview
4
5The Digital Rights Management (DRM) module provides APIs to implement digital rights protection.
6
7You can refer to the corresponding development guide and samples based on your development requirements.
8
9- [DRM Development (C/C++)](../../media/drm/drm-c-dev-guide.md)
10- [Using AVCodec to Play DRM Content (C/C++)](../../media/drm/drm-avcodec-integration.md)
11
12
13**Since**: 11
14
15## Files
16
17| Name| Description|
18| -- | -- |
19| [native_drm_common.h](capi-native-drm-common-h.md) | Declares the DRM data types.|
20| [native_drm_err.h](capi-native-drm-err-h.md) | Declares the DRM error codes.|
21| [native_mediakeysession.h](capi-native-mediakeysession-h.md) | Declares the MediaKeySession APIs.<br>The APIs can be used to generate media key requests, process responses to media key requests, listen for events, obtain content protection levels, check media key status, and delete media keys.|
22| [native_mediakeysystem.h](capi-native-mediakeysystem-h.md) | Declares the MediaKeySystem APIs.<br>The APIs can be used to check whether a specific DRM is supported, create a media key session, obtain and set configurations, obtain statistics information, obtain the content protection level, generate media key system requests, process responses to media key system requests, listen for events, and manage offline media keys.|
23