Android.Media.MediaCodec.SignalEndOfInputStream Method
Signals end-of-stream on input.

Syntax

[Android.Runtime.Register("signalEndOfInputStream", "()V", "")]
public void SignalEndOfInputStream ()

Exceptions

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

Remarks

Signals end-of-stream on input. Equivalent to submitting an empty buffer with MediaCodec.BufferFlagEndOfStream set. This may only be used with encoders receiving input from a Surface created by MediaCodec.CreateInputSurface.

[Android Documentation]

Requirements

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