Package com.brightcove.player.util
Class CodecUtil
java.lang.Object
com.brightcove.player.util.CodecUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
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.static List<android.media.MediaCodecInfo>
Gets the device codecs information.
-
Field Details
-
EC3_CODEC_PATTERN_STRING
- See Also:
-
ATMOS_AUDIO_CODEC_PATTERN
- See Also:
-
-
Constructor Details
-
CodecUtil
public CodecUtil()
-
-
Method Details
-
getMediaCodecInfoList
Gets the device codecs information.- Returns:
- - An ArrayList with the
MediaCodecInfo
of available codecs.
-
deviceHasDolbyAtmosSupport
public static boolean deviceHasDolbyAtmosSupport()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.- Returns:
- - True if the current device supports Dolby Atmos.
-