Base class of HLS DRM implementations.
More...
#include <HlsDrmBase.h>
|
| virtual DrmReturn | SetMetaData (class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL)=0 |
| | Set DRM specific meta-data. More...
|
| |
| virtual DrmReturn | SetDecryptInfo (PrivateInstanceAAMP *aamp, const struct DrmInfo *drmInfo, AampLogManager *logObj=NULL)=0 |
| | Set information required for decryption. More...
|
| |
| virtual DrmReturn | Decrypt (ProfilerBucketType bucketType, void *encryptedDataPtr, size_t encryptedDataLen, int timeInMs=3000)=0 |
| | Decrypts an encrypted buffer. More...
|
| |
|
virtual void | Release ()=0 |
| | Release drm session.
|
| |
|
virtual void | CancelKeyWait ()=0 |
| | Cancel timed_wait operation drm_Decrypt.
|
| |
|
virtual void | RestoreKeyState ()=0 |
| | Restore key state post cleanup of audio/video TrackState in case DRM data is persisted.
|
| |
| virtual void | AcquireKey (class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL)=0 |
| | AcquireKey Function to get DRM Key. More...
|
| |
| virtual DRMState | GetState ()=0 |
| | GetState Function to get current DRM state. More...
|
| |
|
virtual | ~HlsDrmBase () |
| | HlsDrmBase Destructor.
|
| |
Base class of HLS DRM implementations.
Definition at line 59 of file HlsDrmBase.h.
◆ SetMetaData()
Set DRM specific meta-data.
- Parameters
-
| aamp | AAMP instance to be associated with this decryptor |
| metadata | DRM specific metadata |
- Return values
-
Implemented in AesDec, and AampHlsOcdmBridge.
◆ SetDecryptInfo()
Set information required for decryption.
- Parameters
-
| aamp | AAMP instance to be associated with this decryptor |
| drmInfo | Drm information |
- Return values
-
Implemented in AampHlsOcdmBridge, and AesDec.
◆ Decrypt()
| virtual DrmReturn HlsDrmBase::Decrypt |
( |
ProfilerBucketType |
bucketType, |
|
|
void * |
encryptedDataPtr, |
|
|
size_t |
encryptedDataLen, |
|
|
int |
timeInMs = 3000 |
|
) |
| |
|
pure virtual |
Decrypts an encrypted buffer.
- Parameters
-
| bucketType | Type of bucket for profiling |
| encryptedDataPtr | pointer to encyrpted payload |
| encryptedDataLen | length in bytes of data pointed to by encryptedDataPtr |
| timeInMs | wait time |
- Return values
-
Implemented in AampHlsOcdmBridge, and AesDec.
◆ AcquireKey()
◆ GetState()
| virtual DRMState HlsDrmBase::GetState |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: