Share via


MediaCodec.Callback.OnOutputBuffersAvailable Method

Definition

Called when multiple access-units are available in the output.

[Android.Runtime.Register("onOutputBuffersAvailable", "(Landroid/media/MediaCodec;ILjava/util/ArrayDeque;)V", "GetOnOutputBuffersAvailable_Landroid_media_MediaCodec_ILjava_util_ArrayDeque_Handler", ApiSince=35)]
public virtual void OnOutputBuffersAvailable (Android.Media.MediaCodec codec, int index, Java.Util.ArrayDeque infos);
[<Android.Runtime.Register("onOutputBuffersAvailable", "(Landroid/media/MediaCodec;ILjava/util/ArrayDeque;)V", "GetOnOutputBuffersAvailable_Landroid_media_MediaCodec_ILjava_util_ArrayDeque_Handler", ApiSince=35)>]
abstract member OnOutputBuffersAvailable : Android.Media.MediaCodec * int * Java.Util.ArrayDeque -> unit
override this.OnOutputBuffersAvailable : Android.Media.MediaCodec * int * Java.Util.ArrayDeque -> unit

Parameters

codec
MediaCodec

The MediaCodec object.

index
Int32

The index of the available output buffer.

infos
ArrayDeque

Infos describing the available output buffer MediaCodec.BufferInfo. Access units present in the output buffer are laid out contiguously without gaps and in order.

Attributes

Remarks

Called when multiple access-units are available in the output.

Java documentation for android.media.MediaCodec.Callback.onOutputBuffersAvailable(android.media.MediaCodec, int, java.util.ArrayDeque<android.media.MediaCodec.BufferInfo>).

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.

Applies to