Class Codecs

java.lang.Object
com.castlabs.utils.Codecs

public class Codecs extends Object
  • Field Details

    • CODEC_NAMES

      public static final Map<String,String> CODEC_NAMES
    • UNSUPPORTED_AUDIO_CODECS

      public static final Set<String> UNSUPPORTED_AUDIO_CODECS
    • PLUGIN_DECODER_SUPPORT

      public static final Set<String> PLUGIN_DECODER_SUPPORT
    • DASH_CODEC_TO_EXOPLAYER_MIMETYPE

      public static final Map<String,String> DASH_CODEC_TO_EXOPLAYER_MIMETYPE
  • Constructor Details

    • Codecs

      public Codecs()
  • Method Details

    • getCodecName

      public static String getCodecName(String codecs)
    • getEncodingForMimeType

      public static int getEncodingForMimeType(String mimeType)
    • isAudioCodec

      public static boolean isAudioCodec(String codecs)
    • createAudioCodecAdapterFactory

      public static com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory createAudioCodecAdapterFactory()
    • createVideoCodecAdapterFactory

      public static com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory createVideoCodecAdapterFactory()