RDK Documentation (Open Sourced RDK Components)
AampDrmSession.h File Reference

Header file for AampDrmSession. More...

#include <string>
#include <stdint.h>
#include <vector>
#include <gst/gst.h>
#include "AampDRMutils.h"
#include "AampConfig.h"
Include dependency graph for AampDrmSession.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  AampDrmSession
 Base class for DRM sessions. More...
 

Macros

#define PLAYREADY_PROTECTION_SYSTEM_ID   "9a04f079-9840-4286-ab92-e65be0885f95"
 
#define WIDEVINE_PROTECTION_SYSTEM_ID   "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
 
#define CLEARKEY_PROTECTION_SYSTEM_ID   "1077efec-c0b2-4d02-ace3-3c1e52e2fb4b"
 
#define VERIMATRIX_PROTECTION_SYSTEM_ID   "9a27dd82-fde2-4725-8cbc-4234aa06ec09"
 
#define PLAYREADY_KEY_SYSTEM_STRING   "com.microsoft.playready"
 
#define WIDEVINE_KEY_SYSTEM_STRING   "com.widevine.alpha"
 
#define CLEAR_KEY_SYSTEM_STRING   "org.w3.clearkey"
 
#define VERIMATRIX_KEY_SYSTEM_STRING   "com.verimatrix.ott"
 
#define HDCP_COMPLIANCE_CHECK_FAILURE   4327
 
#define HDCP_OUTPUT_PROTECTION_FAILURE   4427
 

Enumerations

enum  KeyState
 DRM session states. More...
 

yes

Header file for AampDrmSession.

Definition in file AampDrmSession.h.

Enumeration Type Documentation

◆ KeyState

enum KeyState

DRM session states.

Enumerator
KEY_INIT 

Has been initialized

KEY_PENDING 

Has a key message pending to be processed

KEY_READY 

Has a usable key

KEY_ERROR 

Has an error

KEY_CLOSED 

Has been closed

KEY_ERROR_EMPTY_SESSION_ID 

Has Empty DRM session id

Definition at line 54 of file AampDrmSession.h.