@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

getRecommendedVideoEncoderSettings

public static VideoEncoderSettings getRecommendedVideoEncoderSettings(Format format)

Returns the recommended VideoEncoderSettings for the provided format.

The returned bitrate is NO_VALUE if no recommendation is available for the current device and the provided format.

getRecommendedVideoMimeType

public static String getRecommendedVideoMimeType()

Returns the MIME type recommended for video encoding on the runtime device.