Compartir a través de


MediaFormat.KeyIntraRefreshPeriod Field

Definition

An optional key describing the period of intra refresh in frames.

[Android.Runtime.Register("KEY_INTRA_REFRESH_PERIOD", ApiSince=24)]
public const string KeyIntraRefreshPeriod;
[<Android.Runtime.Register("KEY_INTRA_REFRESH_PERIOD", ApiSince=24)>]
val mutable KeyIntraRefreshPeriod : string

Field Value

Attributes

Remarks

An optional key describing the period of intra refresh in frames. This is an optional parameter that applies only to video encoders. If encoder supports it (MediaCodecInfo.CodecCapabilities#FEATURE_IntraRefresh), the whole frame is completely refreshed after the specified period. Also for each frame, a fix subset of macroblocks must be intra coded which leads to more constant bitrate than inserting a key frame. This key is recommended for video streaming applications as it provides low-delay and good error-resilience. This key is ignored if the video encoder does not support the intra refresh feature. Use the output format to verify that this feature was enabled. The associated value is an integer.

Java documentation for android.media.MediaFormat.KEY_INTRA_REFRESH_PERIOD.

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