Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 ()

Count the number of available codecs.

public static final MediaCodecInfo getCodecInfoAt (int index)