Sdílet prostřednictvím


MediaCodec.ParameterKeySuspend Field

Definition

Temporarily suspend/resume encoding of input data.

[Android.Runtime.Register("PARAMETER_KEY_SUSPEND")]
public const string ParameterKeySuspend;
[<Android.Runtime.Register("PARAMETER_KEY_SUSPEND")>]
val mutable ParameterKeySuspend : string

Field Value

Attributes

Remarks

Temporarily suspend/resume encoding of input data. While suspended input data is effectively discarded instead of being fed into the encoder. This parameter really only makes sense to use with an encoder in "surface-input" mode, as the client code has no control over the input-side of the encoder in that case. The value is an Integer object containing the value 1 to suspend or the value 0 to resume.

Java documentation for android.media.MediaCodec.PARAMETER_KEY_SUSPEND.

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