I am developing and application where I need both MediaCrypto and MediaCodec. By using MediaCodec.getInputBuffer, I for the input buffer index which is used to store encrypted data and passed to native decrypt through MediaCodec.queueSecureInputBuffer.
After decrypt operation is completed, I am calling MediaCodec.dequeueOutputBuffer to get index of output buffer available. Using the index, I am calling MediaCodec.getOutputBuffer API to get the clear data which is decrypted on native decrypt call. But unfortunately I didn't receive any clear data through the call to MediaCodec.getOutputBuffer.
Can you please help to resolve this issue. I am using Android 10 for my validation.
After decrypt operation is completed, I am calling MediaCodec.dequeueOutputBuffer to get index of output buffer available. Using the index, I am calling MediaCodec.getOutputBuffer API to get the clear data which is decrypted on native decrypt call. But unfortunately I didn't receive any clear data through the call to MediaCodec.getOutputBuffer.
Can you please help to resolve this issue. I am using Android 10 for my validation.
Last edited: