Android APIs
public final class

MediaCodecList

extends Object
java.lang.Object
   ↳ android.media.MediaCodecList

Class Overview

Allows you to enumerate available codecs, each specified as a MediaCodecInfo object, find a codec supporting a given format and query the capabilities of a given codec.

See MediaCodecInfo for sample usage.

Summary

Public Methods
final static int getCodecCount()
Count the number of available codecs.
final static MediaCodecInfo getCodecInfoAt(int index)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static final int getCodecCount ()

Added in API level 16

Count the number of available codecs.

public static final MediaCodecInfo getCodecInfoAt (int index)

Added in API level 16