MediaCodec.Callback.OnOutputBuffersAvailable 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.
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.
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.