Class CodecUtil

java.lang.Object
com.brightcove.player.util.CodecUtil

public class CodecUtil extends Object
  • Field Details

  • Constructor Details

    • CodecUtil

      public CodecUtil()
  • Method Details

    • getMediaCodecInfoList

      public static List<android.media.MediaCodecInfo> 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.