Udostępnij za pośrednictwem


MediaCodec.BufferFlagSyncFrame Field

Definition

Caution

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

This indicates that the (encoded) buffer marked as such contains the data for a key frame.

[Android.Runtime.Register("BUFFER_FLAG_SYNC_FRAME")]
[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 BufferFlagSyncFrame = 1;
[<Android.Runtime.Register("BUFFER_FLAG_SYNC_FRAME")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaCodecBufferFlags enum directly instead of this field.", true)>]
val mutable BufferFlagSyncFrame : Android.Media.MediaCodecBufferFlags

Field Value

Value = 1
Attributes

Remarks

This indicates that the (encoded) buffer marked as such contains the data for a key frame.

This member is deprecated. Use #BUFFER_FLAG_KEY_FRAME instead.

Java documentation for android.media.MediaCodec.BUFFER_FLAG_SYNC_FRAME.

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