Aracılığıyla paylaş


MediaCodec.ParameterKeyOffsetTime Field

Definition

Specify an offset (in micro-second) to be added on top of the timestamps onward.

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

Field Value

Attributes

Remarks

Specify an offset (in micro-second) to be added on top of the timestamps onward. A typical use case is to apply an adjust to the timestamps after a period of pause by the user.

This parameter can only be used on an encoder in "surface-input" mode.

The value is a long int, indicating the timestamp offset to be applied.

Java documentation for android.media.MediaCodec.PARAMETER_KEY_OFFSET_TIME.

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