Language

MediaCodec.BufferFlagEndOfStream Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.

Signals the end of the input or output stream.

[Android.Runtime.Register("BUFFER_FLAG_END_OF_STREAM")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)]
public const Android.Media.MediaCodecBufferFlags BufferFlagEndOfStream = 4;
[<Android.Runtime.Register("BUFFER_FLAG_END_OF_STREAM")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)>]
val mutable BufferFlagEndOfStream : Android.Media.MediaCodecBufferFlags

Field Value

Value = 4
Attributes

Remarks

After an input buffer signals the end of the stream, the codec can still produce output buffers until it signals the end of the output stream. Do not submit more input buffers until the codec is flushed or stopped and restarted.

Java documentation for android.media.MediaCodec.BUFFER_FLAG_END_OF_STREAM.

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