|
| AAMPOCDMSession (AampLogManager *logObj, const string &keySystem) |
|
| AAMPOCDMSession (const AAMPOCDMSession &)=delete |
|
AAMPOCDMSession & | operator= (const AAMPOCDMSession &)=delete |
|
void | generateAampDRMSession (const uint8_t *f_pbInitData, uint32_t f_cbInitData, std::string &customData) |
| Create drm session with given init data. More...
|
|
DrmData * | aampGenerateKeyRequest (string &destinationURL, uint32_t timeout) |
| Generate key request from DRM session Caller function should free the returned memory. More...
|
|
int | aampDRMProcessKey (DrmData *key, uint32_t timeout) |
| Updates the received key to DRM session. More...
|
|
int | decrypt (const uint8_t *f_pbIV, uint32_t f_cbIV, const uint8_t *payloadData, uint32_t payloadDataSize, uint8_t **ppOpaqueData) |
| Function to decrypt stream buffer.
|
|
KeyState | getState () |
| Get the current state of DRM Session. More...
|
|
void | clearDecryptContext () |
| Clear the current session context So that new init data can be bound.
|
|
virtual int | decrypt (GstBuffer *keyIDBuffer, GstBuffer *ivBuffer, GstBuffer *buffer, unsigned subSampleCount, GstBuffer *subSamplesBuffer, GstCaps *caps=NULL) |
| Function to decrypt GStreamer stream buffer.
|
|
virtual bool | waitForState (KeyState state, const uint32_t timeout) |
| Waits for the current state of DRM Session to match required.. Timeout is that from the helper. Only used by OCDM Adapter for now. More...
|
|
| AampDrmSession (AampLogManager *logObj, const string &keySystem) |
| Constructor for AampDrmSession.
|
|
| AampDrmSession (const AampDrmSession &)=delete |
| Copy constructor disabled. More...
|
|
AampDrmSession & | operator= (const AampDrmSession &)=delete |
| assignment operator disabled More...
|
|
virtual | ~AampDrmSession () |
| Destructor for AampDrmSession..
|
|
string | getKeySystem () |
| Get the DRM System, ie, UUID for PlayReady WideVine etc.. More...
|
|
void | setOutputProtection (bool bValue) |
| Set the OutputProtection for DRM Session. More...
|
|
Open CDM DRM session.
Definition at line 38 of file opencdmsession.h.