Udostępnij za pośrednictwem


MediaCodec.SignalEndOfInputStream Method

Definition

Signals end-of-stream on input.

[Android.Runtime.Register("signalEndOfInputStream", "()V", "")]
public void SignalEndOfInputStream ();
[<Android.Runtime.Register("signalEndOfInputStream", "()V", "")>]
member this.SignalEndOfInputStream : unit -> unit
Attributes

Exceptions

if not in the Executing state.

upon codec error.

Remarks

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

Java documentation for android.media.MediaCodec.signalEndOfInputStream().

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