Partager via


MediaFormat.KeyBufferBatchThresholdOutputSize Field

Definition

A key describing the threshold output size in bytes when using large buffer mode containing multiple access units.

[Android.Runtime.Register("KEY_BUFFER_BATCH_THRESHOLD_OUTPUT_SIZE", ApiSince=35)]
public const string KeyBufferBatchThresholdOutputSize;
[<Android.Runtime.Register("KEY_BUFFER_BATCH_THRESHOLD_OUTPUT_SIZE", ApiSince=35)>]
val mutable KeyBufferBatchThresholdOutputSize : string

Field Value

Attributes

Remarks

A key describing the threshold output size in bytes when using large buffer mode containing multiple access units.

This is an optional parameter.

If not set - the component can set this to a reasonable value. If set larger than max size, the components will clip this setting to maximum buffer batching output size.

The component will return a partial output buffer if the output buffer reaches or surpass this limit.

Threshold size should be always less or equal to KEY_MAX_BUFFER_BATCH_OUTPUT_SIZE. The final setting of this value as determined by the component will be returned in the output format

The associated value is an integer

Java documentation for android.media.MediaFormat.KEY_BUFFER_BATCH_THRESHOLD_OUTPUT_SIZE.

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