ShadowMediaCodecConfig.CodecInfo


class ShadowMediaCodecConfig.CodecInfo


Class that holds information about a CodecImpl configuration.

Summary

Public constructors

CodecInfo(codecName: String!, mimeType: String!)

Creates an instance.

CodecInfo(
    codecName: String!,
    mimeType: String!,
    profileLevels: ImmutableList<MediaCodecInfo.CodecProfileLevel!>!,
    colorFormats: ImmutableList<Int!>!
)

Creates an instance.

Public constructors

CodecInfo

CodecInfo(codecName: String!, mimeType: String!)

Creates an instance.

This method is equivalent to CodecInfo(codecName, mimeType, ImmutableList.of(), ImmutableList.of().

Parameters
codecName: String!

The name of the codec.

mimeType: String!

The MIME type of the codec.

CodecInfo

CodecInfo(
    codecName: String!,
    mimeType: String!,
    profileLevels: ImmutableList<MediaCodecInfo.CodecProfileLevel!>!,
    colorFormats: ImmutableList<Int!>!
)

Creates an instance.

Parameters
codecName: String!

The name of the codec.

mimeType: String!

The MIME type of the codec.

profileLevels: ImmutableList<MediaCodecInfo.CodecProfileLevel!>!

A list of profiles and levels supported by the codec.

colorFormats: ImmutableList<Int!>!

A list of color formats supported by the codec.

Public properties

codecName

val codecNameString!

colorFormats

val colorFormatsImmutableList<Int!>!

mimeType

val mimeTypeString!