CodecSpecificDataUtil.MediaCodecProfileAndLevel


class CodecSpecificDataUtil.MediaCodecProfileAndLevel


A tuple of profile and level constants for MediaCodec.

This is similar to MediaCodecInfo.CodecProfileLevel, except it:

Summary

Constants

const CodecSpecificDataUtil.MediaCodecProfileAndLevel!

An instance that represents a profile and level combination not representable with MediaCodecInfo.CodecProfileLevel constants.

Public constructors

MediaCodecProfileAndLevel(profile: Int, level: Int)

Constructs an instance with values from MediaCodecInfo.CodecProfileLevel.

Constants

UNSUPPORTABLE

const val UNSUPPORTABLECodecSpecificDataUtil.MediaCodecProfileAndLevel!

An instance that represents a profile and level combination not representable with MediaCodecInfo.CodecProfileLevel constants.

Public constructors

MediaCodecProfileAndLevel

MediaCodecProfileAndLevel(profile: Int, level: Int)

Constructs an instance with values from MediaCodecInfo.CodecProfileLevel.

Public properties

isSupportableByMediaCodec

val isSupportableByMediaCodecBoolean

level

val levelInt

profile

val profileInt