Freigeben über


MediaFormat.KeyBufferBatchMaxOutputSize Field

Definition

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

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

Field Value

Attributes

Remarks

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

When not-set - codec functions with one access-unit per frame. When set less than the size of two access-units - will make codec operate in single access-unit per output frame. When set to a value too big - The component or the framework will override this value to a reasonable max size not exceeding typical 10 seconds of data (device dependent) when set to a value larger than that. The value final value used will be returned in the output format.

The associated value is an integer

Java documentation for android.media.MediaFormat.KEY_BUFFER_BATCH_MAX_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