- timeoutUs
- The timeout in microseconds, a negative timeout indicates "infinite".
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if not in the Executing state, or codec is configured in asynchronous mode. !:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.html upon codec error.
Returns the index of an input buffer to be filled with valid data or -1 if no such buffer is currently available. This method will return immediately if timeoutUs == 0, wait indefinitely for the availability of an input buffer if timeoutUs < 0 or wait up to "timeoutUs" microseconds if timeoutUs > 0.