MediaCodec.QueueSecureInputBuffers(Int32, ArrayDeque, ArrayDeque) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Similar to #queueInputBuffers queueInputBuffers
but submits multiple access units
in a buffer that is potentially encrypted.
[Android.Runtime.Register("queueSecureInputBuffers", "(ILjava/util/ArrayDeque;Ljava/util/ArrayDeque;)V", "", ApiSince=35)]
public void QueueSecureInputBuffers (int index, Java.Util.ArrayDeque bufferInfos, Java.Util.ArrayDeque cryptoInfos);
[<Android.Runtime.Register("queueSecureInputBuffers", "(ILjava/util/ArrayDeque;Ljava/util/ArrayDeque;)V", "", ApiSince=35)>]
member this.QueueSecureInputBuffers : int * Java.Util.ArrayDeque * Java.Util.ArrayDeque -> unit
Parameters
- index
- Int32
The index of a client-owned input buffer previously returned
in a call to #dequeueInputBuffer
.
- bufferInfos
- ArrayDeque
ArrayDeque of MediaCodec.BufferInfo
that describes the
contents in the buffer. The ArrayDeque and the BufferInfo objects provided
can be recycled by the caller for re-use.
- cryptoInfos
- ArrayDeque
ArrayDeque of MediaCodec.CryptoInfo
objects to facilitate the
decryption of the contents. The ArrayDeque and the CryptoInfo objects
provided can be reused immediately after the call returns. These objects
should correspond to bufferInfo objects to ensure correct decryption.
- Attributes
Remarks
Similar to #queueInputBuffers queueInputBuffers
but submits multiple access units in a buffer that is potentially encrypted. <strong>Check out further notes at #queueInputBuffers queueInputBuffers
.</strong>
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.