CodecUtil

open class CodecUtil

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val ATMOS_AUDIO_CODEC_PATTERN: String = "audio/(a|ea|e)c(3|-3|\+3)-?j?o?c?"
Link copied to clipboard
val EC3_CODEC_PATTERN_STRING: String = "(a|ea|e)c(3|-3|\+3)-?j?o?c?"

Functions

Link copied to clipboard
Evaluates if the current device supports Dolby Atmos by trying to match ac3, eac3 or eac3-joc in the supported types of each codec information.
Link copied to clipboard
open fun getMediaCodecInfoList(): List<MediaCodecInfo>
Gets the device codecs information.