CodecDbLite
@UnstableApi
public final class CodecDbLite
Repository of chipset-specific recommendations and/or optimizations for using Android platform provided video codecs.
Recommendations made by this class are based on Google-collected benchmark data collected on production devices leveraging the chipsets represented.
Summary
Public methods |
|
|---|---|
static VideoEncoderSettings |
Returns the recommended |
static String |
Returns the MIME type recommended for video encoding on the runtime device. |
Public methods
getRecommendedVideoEncoderSettings
public static VideoEncoderSettings getRecommendedVideoEncoderSettings(Format format)
Returns the recommended VideoEncoderSettings for the provided format.
| Parameters | |
|---|---|
Format format |
the video format to recommend settings for which must include |
getRecommendedVideoMimeType
public static String getRecommendedVideoMimeType()
Returns the MIME type recommended for video encoding on the runtime device.