Android.Media.MediaCodec.DequeueOutputBuffer Method
Dequeue an output buffer, block at most "timeoutUs" microseconds.

Syntax

[Android.Runtime.Register("dequeueOutputBuffer", "(Landroid/media/MediaCodec$BufferInfo;J)I", "")]
public int DequeueOutputBuffer (MediaCodec.BufferInfo info, long timeoutUs)

Parameters

info
Will be filled with buffer meta data.
timeoutUs
The timeout in microseconds, a negative timeout indicates "infinite".

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif not in the Executing state, or codec is configured in asynchronous mode.
!:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.htmlupon codec error.

Remarks

Dequeue an output buffer, block at most "timeoutUs" microseconds. Returns the index of an output buffer that has been successfully decoded or one of the INFO_* constants below.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16