Compartir a través de


MediaFormat.KeyMaxFpsToEncoder Field

Definition

Instruct the video encoder in "surface-input" mode to drop excessive frames from the source, so that the input frame rate to the encoder does not exceed the specified fps.

[Android.Runtime.Register("KEY_MAX_FPS_TO_ENCODER", ApiSince=29)]
public const string KeyMaxFpsToEncoder;
[<Android.Runtime.Register("KEY_MAX_FPS_TO_ENCODER", ApiSince=29)>]
val mutable KeyMaxFpsToEncoder : string

Field Value

Attributes

Remarks

Instruct the video encoder in "surface-input" mode to drop excessive frames from the source, so that the input frame rate to the encoder does not exceed the specified fps.

The associated value is a float, representing the max frame rate to feed the encoder at.

Java documentation for android.media.MediaFormat.KEY_MAX_FPS_TO_ENCODER.

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