Share via


MediaFormat.KeyTemporalLayering Field

Definition

A key describing the temporal layering schema.

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

Field Value

Attributes

Remarks

A key describing the temporal layering schema. This is an optional parameter that applies only to video encoders. Use MediaCodec#getOutputFormat after MediaCodec#configure configure to query if the encoder supports the desired schema. Supported values are webrtc.vp8.N-layer, android.generic.N, android.generic.N+M and none, where N denotes the total number of non-bidirectional layers (which must be at least 1) and M denotes the total number of bidirectional layers (which must be non-negative). <p class=note>android.generic.* schemas have been added in android.os.Build.VERSION_CODES#N_MR1.

The encoder may support fewer temporal layers, in which case the output format will contain the configured schema. If the encoder does not support temporal layering, the output format will not have an entry with this key. The associated value is a string.

Java documentation for android.media.MediaFormat.KEY_TEMPORAL_LAYERING.

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