MediaFormat.KeyTemporalLayerId Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A key describing the index of the temporal layer of the output buffer.
[Android.Runtime.Register("KEY_TEMPORAL_LAYER_ID", ApiSince=37)]
public const string KeyTemporalLayerId;
[<Android.Runtime.Register("KEY_TEMPORAL_LAYER_ID", ApiSince=37)>]
val mutable KeyTemporalLayerId : string
Field Value
- Attributes
Remarks
A key describing the index of the temporal layer of the output buffer. This is an optional parameter that applies only to video encoders. The key is present in every output buffer only if KEY_TEMPORAL_LAYERING is "webrtc.svc.*" and KEY_TEMPORAL_LAYER_ID is configured at MediaCodec.configure and the encoder is producing temporal layer encoding. The associated value is an integer and 0-based. The value 0 represents the base layer and 1 is the second layer, and thus the value must be less than the number of layers specified by KEY_TEMPORAL_LAYERING configured at MediaCodec.configure.
Android reference for android.media.MediaFormat.KEY_TEMPORAL_LAYER_ID.
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.