RDK Documentation (Open Sourced RDK Components)
AampHlsDrmSessionManager Class Reference

DRM Session manager for HLS stream operations. More...

#include <AampHlsDrmSessionManager.h>

Collaboration diagram for AampHlsDrmSessionManager:
Collaboration graph

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
 

yes

DRM Session manager for HLS stream operations.

Definition at line 38 of file AampHlsDrmSessionManager.h.

Member Function Documentation

◆ getInstance()

AampHlsDrmSessionManager::getInstance ( )
static

getInstance Get DRM instance Get an instance of the Hls DRM Session Manager

Returns
Aamp Hls Drm Session Manager instance

Definition at line 37 of file AampHlsDrmSessionManager.cpp.

◆ isDrmSupported()

AampHlsDrmSessionManager::isDrmSupported ( const struct DrmInfo &  drmInfo) const

Check stream is DRM supported.

Parameters
drmInfoDrmInfo built by the HLS manifest parser
Returns
true if a DRM support available, false otherwise

Definition at line 46 of file AampHlsDrmSessionManager.cpp.

◆ createSession()

AampHlsDrmSessionManager::createSession ( PrivateInstanceAAMP *  aampInstance,
const struct DrmInfo &  drmInfo,
MediaType  streamType,
AampLogManager *  logObj = NULL 
)

createSession create session for DRM

Parameters
aampInstanceaampContext
drmInfoDrmInfo built by the HLS manifest parser
Returns
true if a DRM support available, false otherwise

Definition at line 54 of file AampHlsDrmSessionManager.cpp.


The documentation for this class was generated from the following files: