MediaUtils

public class MediaUtils

Includes a static getSupportedCodecs(Context context) method to discover which video codecs are supported on the device.

Nested types: MediaUtils.VideoCodecType, MediaUtils.SupportedCodecs

Methods

Name Description
MediaUtils()
(static) getSupportedCodecs(context) → {MediaUtils.SupportedCodecs}

MediaUtils()

(static) getSupportedCodecs(context) → {MediaUtils.SupportedCodecs}

Parameters:
Name Type Description
context Context The android.content.Context for the MediaUtils object.
Returns:

Returns an object that lists video codecs (for encoding and decoding) supported on the device.