Android Guides | Samples

Android.Media.MediaCodecBufferFlags Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaCodec+BufferInfo.Set, MediaCodec.QueueInputBuffer, and MediaCodec.QueueSecureInputBuffer members.

Syntax

[System.Flags]
public enum MediaCodecBufferFlags

Remarks

Members

Member NameDescription
CodecConfigThis indicated that the buffer marked as such contains codec initialization / codec specific data instead of media data.
EndOfStreamThis signals the end of stream, i.e. no buffers will be available after this, unless of course, MediaCodec.Flush follows.
KeyFrame
None
SyncFrameThis indicates that the buffer marked as such contains the data for a sync frame.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MediaCodecBufferFlags are listed below.

See Also: Enum

Public Fields

CodecConfigMediaCodecBufferFlags. This indicated that the buffer marked as such contains codec initialization / codec specific data instead of media data.
EndOfStreamMediaCodecBufferFlags. This signals the end of stream, i.e. no buffers will be available after this, unless of course, MediaCodec.Flush follows.
KeyFrameMediaCodecBufferFlags.
NoneMediaCodecBufferFlags.
SyncFrameMediaCodecBufferFlags. This indicates that the buffer marked as such contains the data for a sync frame.