RDK Documentation (Open Sourced RDK Components)
|
DRM Session manager for HLS stream operations. More...
#include <AampHlsDrmSessionManager.h>
Public Member Functions | |
bool | isDrmSupported (const struct DrmInfo &drmInfo) const |
Check stream is DRM supported. More... | |
std::shared_ptr< HlsDrmBase > | createSession (PrivateInstanceAAMP *aampInstance, const struct DrmInfo &drmInfo, MediaType streamType, AampLogManager *logObj=NULL) |
createSession create session for DRM More... | |
Static Public Member Functions | |
static AampHlsDrmSessionManager & | getInstance () |
getInstance Get DRM instance Get an instance of the Hls DRM Session Manager More... | |
Private Attributes | |
AampDrmSession * | mDrmSession |
DRM Session manager for HLS stream operations.
Definition at line 38 of file AampHlsDrmSessionManager.h.
|
static |
getInstance Get DRM instance Get an instance of the Hls DRM Session Manager
Definition at line 37 of file AampHlsDrmSessionManager.cpp.
AampHlsDrmSessionManager::isDrmSupported | ( | const struct DrmInfo & | drmInfo | ) | const |
Check stream is DRM supported.
drmInfo | DrmInfo built by the HLS manifest parser |
Definition at line 46 of file AampHlsDrmSessionManager.cpp.
AampHlsDrmSessionManager::createSession | ( | PrivateInstanceAAMP * | aampInstance, |
const struct DrmInfo & | drmInfo, | ||
MediaType | streamType, | ||
AampLogManager * | logObj = NULL |
||
) |
createSession create session for DRM
aampInstance | aampContext |
drmInfo | DrmInfo built by the HLS manifest parser |
Definition at line 54 of file AampHlsDrmSessionManager.cpp.