|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
26 #ifndef _DRM_HLSDRMBASE_H_
27 #define _DRM_HLSDRMBASE_H_
DrmReturn
Return values of various functions.
virtual DRMState GetState()=0
GetState Function to get current DRM state.
@ eDRM_KEY_ACQUSITION_TIMEOUT
virtual void CancelKeyWait()=0
Cancel timed_wait operation drm_Decrypt.
Base class of HLS DRM implementations.
DRM information required to decrypt.
virtual ~HlsDrmBase()
HlsDrmBase Destructor.
virtual void Release()=0
Release drm session.
DRMState
States of DRM object.
virtual void AcquireKey(class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL)=0
AcquireKey Function to get DRM Key.
Private functions and types used internally by AAMP.
Class representing the AAMP player's private instance, which is not exposed to outside world.
ProfilerBucketType
Bucket types of AAMP profiler.
virtual void RestoreKeyState()=0
Restore key state post cleanup of audio/video TrackState in case DRM data is persisted.
virtual DrmReturn Decrypt(ProfilerBucketType bucketType, void *encryptedDataPtr, size_t encryptedDataLen, int timeInMs=3000)=0
Decrypts an encrypted buffer.
virtual DrmReturn SetMetaData(class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL)=0
Set DRM specific meta-data.
virtual DrmReturn SetDecryptInfo(PrivateInstanceAAMP *aamp, const struct DrmInfo *drmInfo, AampLogManager *logObj=NULL)=0
Set information required for decryption.