![]() |
RDK Documentation (Open Sourced RDK Components)
|
Source file for DrmSessionManager. More...
#include "AampDRMSessionManager.h"#include "priv_aamp.h"#include <pthread.h>#include "_base64.h"#include <iostream>#include "AampMutex.h"#include "AampDrmHelper.h"#include "AampJsonObject.h"#include "AampUtils.h"#include "AampRfc.h"#include <inttypes.h>#include "AampCurlStore.h"
Go to the source code of this file.
Functions | |
| void * | CreateDRMSession (void *arg) |
| Thread function to create DRM Session which would be invoked in thread from HLS , PlayReady or from pipeline More... | |
| int | SpawnDRMLicenseAcquireThread (PrivateInstanceAAMP *aamp, DrmSessionDataInfo *drmData) |
| Function to spawn the DrmSession Thread based on the preferred drm set. More... | |
| void | ReleaseDRMLicenseAcquireThread (PrivateInstanceAAMP *aamp) |
| Function to release the DrmSession if it running. More... | |
| string | _extractSubstring (string parentStr, string startStr, string endStr) |
| Extract substring between (excluding) two string delimiters. More... | |
Variables | |
| static const char * | sessionTypeName [] = {"video", "audio", "subtitle", "aux-audio"} |
| static pthread_mutex_t | drmSessionMutex = PTHREAD_MUTEX_INITIALIZER |
Source file for DrmSessionManager.
Definition in file AampDRMSessionManager.cpp.
| #define CURL_EASY_SETOPT | ( | curl, | |
| CURLoption, | |||
| option | |||
| ) |
Definition at line 56 of file AampDRMSessionManager.cpp.
| void * CreateDRMSession | ( | void * | arg | ) |
Thread function to create DRM Session which would be invoked in thread from HLS , PlayReady or from pipeline
| [out] | arg | - DrmSessionParams structure with filled data |
Definition at line 1803 of file AampDRMSessionManager.cpp.
| int SpawnDRMLicenseAcquireThread | ( | PrivateInstanceAAMP * | aamp, |
| DrmSessionDataInfo * | drmData | ||
| ) |
Function to spawn the DrmSession Thread based on the preferred drm set.
| [out] | drmData | private aamp instance |
Definition at line 1763 of file AampDRMSessionManager.cpp.
| void ReleaseDRMLicenseAcquireThread | ( | PrivateInstanceAAMP * | aamp | ) |
Function to release the DrmSession if it running.
| [out] | aamp | private aamp instance |
Definition at line 1741 of file AampDRMSessionManager.cpp.
| string _extractSubstring | ( | string | parentStr, |
| string | startStr, | ||
| string | endStr | ||
| ) |
Extract substring between (excluding) two string delimiters.
| [in] | parentStr | - Parent string from which substring is extracted. |
| [in] | startStr,endStr | - String delimiters. |
Definition at line 369 of file AampDRMSessionManager.cpp.