21 void ExtractSEI( GstBuffer *buffer);
26 , AAMPOCDMGSTSessionDecrypt(
nullptr)
28 const char* ocdmgstsessiondecrypt =
"opencdm_gstreamer_session_decrypt_ex";
29 AAMPOCDMGSTSessionDecrypt = (OpenCDMError(*)(
struct OpenCDMSession*, GstBuffer*, GstBuffer*,
const uint32_t, GstBuffer*, GstBuffer*, uint32_t, GstCaps*))dlsym(RTLD_DEFAULT, ocdmgstsessiondecrypt);
30 if (AAMPOCDMGSTSessionDecrypt)
31 logprintf(
"Has opencdm_gstreamer_session_decrypt_ex");
33 logprintf(
"No opencdm_gstreamer_session_decrypt_ex found");
40 int decrypt(GstBuffer* keyIDBuffer, GstBuffer* ivBuffer, GstBuffer* buffer,
unsigned subSampleCount, GstBuffer* subSamplesBuffer, GstCaps* caps);
41 int decrypt(
const uint8_t *f_pbIV, uint32_t f_cbIV,
const uint8_t *payloadData, uint32_t payloadDataSize, uint8_t **ppOpaqueData);
44 OpenCDMError(*AAMPOCDMGSTSessionDecrypt)(
struct OpenCDMSession*, GstBuffer*, GstBuffer*,
const uint32_t, GstBuffer*, GstBuffer*, uint32_t, GstCaps*);