- index
- The index of a client-owned input buffer previously returned in a call to MediaCodec.DequeueInputBuffer(long).
- offset
- The byte offset into the input buffer at which the data starts.
- info
- Metadata required to facilitate decryption, the object can be reused immediately after this call returns.
- presentationTimeUs
- The presentation timestamp in microseconds for this buffer. This is normally the media time at which this buffer should be presented (rendered).
- flags
- A bitmask of flags MediaCodec.BufferFlagCodecConfig and MediaCodec.BufferFlagEndOfStream. While not prohibited, most codecs do not use the MediaCodec.BufferFlagKeyFrame flag for input buffers.
Type Reason Java.Lang.IllegalStateException if not in the Executing state. !:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.html upon codec error. !:NoType:android/media/MediaCodec$CryptoException;Href=../../../reference/android/media/MediaCodec.CryptoException.html if an error occurs while attempting to decrypt the buffer. An error code associated with the exception helps identify the reason for the failure.
Similar to MediaCodec.QueueInputBuffer(int, System.Int32, System.Int32, System.Int32, System.Int32) but submits a buffer that is potentially encrypted.