Class MediaCodecInfo

java.lang.Object
com.castlabs.android.player.MediaCodecInfo
All Implemented Interfaces:
Parcelable

public class MediaCodecInfo extends Object implements Parcelable
Container class holding the media codec name associated with the mimetype
Since:
4.2.6
  • Field Details

  • Constructor Details

    • MediaCodecInfo

      public MediaCodecInfo(@NonNull String mimeType, @Nullable String codecName)
      Creates the container class. Mimetypes are values of MimeTypes e.g. MimeTypes.VIDEO_H264. Codec names are Strings as registered in the system
      Parameters:
      mimeType - the mimetype
      codecName - the codec name
  • Method Details