VideoDecoderConfig
The VideoDecoderConfig defines all the attributes required for Video decode use case.
Applications should create this class to query the video decoders supported on the device.
Constructors
new VideoDecoderConfig()
new VideoDecoderConfig():
VideoDecoderConfig
Returns
Accessors
decoderFeatures
Get Signature
get decoderFeatures():
DecoderFeatures
Returns
set using the setter.
Set Signature
set decoderFeatures(
features
):void
Sets the DecoderFeatures.
This can be used to query on decoder features like decryption.
See
DecoderFeatures for further details.
Parameters
features
Returns
void
formatProfileLevel
Get Signature
get formatProfileLevel():
MediaFormatProfileLevel
Returns
set using the setter.
Set Signature
set formatProfileLevel(
profileLevel
):void
Sets the MediaFormatProfileLevel.
This can be used to query on the profile levels supported.
See
MediaFormatProfileLevel for further details
Parameters
profileLevel
Returns
void
mediaCodecFeatures
Get Signature
get mediaCodecFeatures():
MediaCodecFeatures
Returns
set using setter.
Set Signature
set mediaCodecFeatures(
features
):void
Sets the MediaCodecFeatures.
This can be used to query on media codec features supported by the device.
See
MediaCodecFeatures for more details.
Parameters
features
Returns
void
mediaFormat
Get Signature
get mediaFormat():
MediaFormat
Returns
set using the setter.
Set Signature
set mediaFormat(
format
):void
Sets the MediaFormat.
This can be used to query on the format of the media supported by the device.
See
MediaFormat for further details.
Parameters
format
Returns
void
videoFormat
Get Signature
get videoFormat():
VideoFormat
Returns
set using the setter.
Set Signature
set videoFormat(
format
):void
Sets the VideoFormat.
This can be used to query on different properties supported by the video codecs on the device.
See
VideoFormat for further details.
Parameters
format
Returns
void
Last updated: Sep 30, 2025