select Video Formats For Default Display
open fun selectVideoFormatsForDefaultDisplay(context: Context, formatWrappers: List<out Representation>, allowedContainerMimeTypes: Array<String>, filterHdFormats: Boolean): Array<Int>
Chooses a suitable subset from a number of video formats, to be rendered on the device's default display.
Return
An array holding the indices of the selected formats.
Parameters
context
A context.
format Wrappers
Wrapped formats from which to select.
allowed Container Mime Types
An array of allowed container mime types. Null allows all mime types.
filter Hd Formats
True to filter HD formats. False otherwise.
Throws
Media Codec Util. Decoder Query Exception
Thrown if there was an error querying decoders.