RDK Documentation (Open Sourced RDK Components)
|
Header file for DRM session manager. More...
#include "aampdrmsessionfactory.h"
#include "AampDrmSession.h"
#include "AampDRMutils.h"
#include "priv_aamp.h"
#include "main_aamp.h"
#include <string>
#include <curl/curl.h>
#include "AampDrmHelper.h"
Go to the source code of this file.
Data Structures | |
struct | DrmSessionCacheInfo |
Drm Session Cache Information for keeping single DRM session always. More... | |
struct | DrmSessionDataInfo |
Drm Session Data Information for storing in a pool from parser. More... | |
struct | DrmSessionContext |
To store drmSession and keyId data. More... | |
struct | DrmSessionParams |
Holds data regarding drm session. More... | |
struct | KeyID |
Structure to hold, keyId and session creation time for keyId. More... | |
class | AampDRMSessionManager |
Controller for managing DRM sessions. More... | |
struct | writeCallbackData |
structure to hold DRM data to write More... | |
Macros | |
#define | VIDEO_SESSION 0 |
#define | AUDIO_SESSION 1 |
Typedefs | |
typedef struct DrmSessionCacheInfo | DrmSessionCacheInfo |
typedef struct DrmSessionDataInfo | DrmSessionDataInfo |
typedef struct writeCallbackData | writeCallbackData |
Enumerations | |
enum | SessionMgrState |
Enum to represent session manager state. Session manager would abort any createDrmSession request if in eSESSIONMGR_INACTIVE state. More... | |
Header file for DRM session manager.
Definition in file AampDRMSessionManager.h.
struct DrmSessionCacheInfo |
Drm Session Cache Information for keeping single DRM session always.
Definition at line 48 of file AampDRMSessionManager.h.
Data Fields | ||
---|---|---|
pthread_t | createDRMSessionThreadID |
Thread Id for DrM Session thread |
bool | drmSessionThreadStarted |
DRM Session start flag to identify the DRM Session thread running |
struct DrmSessionDataInfo |
Drm Session Data Information for storing in a pool from parser.
Definition at line 58 of file AampDRMSessionManager.h.
Data Fields | ||
---|---|---|
struct DrmSessionParams * | sessionData |
DRM Session Data |
bool | isProcessedLicenseAcquire |
Flag to avoid multiple acquire for a key |
unsigned char * | processedKeyId |
Pointer to store last processed key Id |
int | processedKeyIdLen |
Last processed key Id size |
struct writeCallbackData |
structure to hold DRM data to write
Definition at line 366 of file AampDRMSessionManager.h.
Data Fields | ||
---|---|---|
DrmData * | data | |
AampDRMSessionManager * | mDRMSessionManager |
enum SessionMgrState |
Enum to represent session manager state. Session manager would abort any createDrmSession request if in eSESSIONMGR_INACTIVE state.
Enumerator | |
---|---|
eSESSIONMGR_INACTIVE | DRM Session mgr is inactive |
eSESSIONMGR_ACTIVE | DRM session mgr is active |
Definition at line 136 of file AampDRMSessionManager.h.