|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
20 #ifndef _AAMP_HLS_OCDM_BRIDGE_H_
21 #define _AAMP_HLS_OCDM_BRIDGE_H_
32 #define DECRYPT_WAIT_TIME_MS 3000
46 pthread_mutex_t m_Mutex;
65 virtual void Release()
override;
76 #endif // _AAMP_HLS_OCDM_BRIDGE_H_
DrmReturn
Return values of various functions.
virtual DRMState GetState() override
GetState Function to get current DRM state.
virtual DrmReturn Decrypt(ProfilerBucketType bucketType, void *encryptedDataPtr, size_t encryptedDataLen, int timeInMs=3000) override
Decrypts an encrypted buffer.
virtual void CancelKeyWait() override
Cancel timed_wait operation drm_Decrypt.
virtual DrmReturn SetMetaData(class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL) override
Set DRM specific meta-data.
Base class of HLS DRM implementations.
DRM information required to decrypt.
virtual void Release() override
Release drm session.
virtual void RestoreKeyState() override
Restore key state post cleanup of audio/video TrackState in case DRM data is persisted.
OCDM bridge to handle DRM key.
Base class for DRM sessions.
DRMState
States of DRM object.
Context-free common utility functions.
Class representing the AAMP player's private instance, which is not exposed to outside world.
virtual DrmReturn SetDecryptInfo(PrivateInstanceAAMP *aamp, const struct DrmInfo *drmInfoi, AampLogManager *logObj=NULL) override
Set information required for decryption.
ProfilerBucketType
Bucket types of AAMP profiler.
Declaration common to various HLS DRM implementations.
virtual void AcquireKey(class PrivateInstanceAAMP *aamp, void *metadata, int trackType, AampLogManager *logObj=NULL) override
AcquireKey Function to get DRM Key.
Header file for AampDrmSession.