Class MediaCodecRenderer.DecoderInitializationException

    • Field Detail

      • mimeType

        public final String mimeType
        The mime type for which a decoder was being initialized.
      • secureDecoderRequired

        public final boolean secureDecoderRequired
        Whether it was required that the decoder support a secure output path.
      • codecInfo

        @Nullable
        public final MediaCodecInfo codecInfo
        The MediaCodecInfo of the decoder that failed to initialize. Null if no suitable decoder was found.
      • diagnosticInfo

        @Nullable
        public final String diagnosticInfo
        An optional developer-readable diagnostic information string. May be null.
    • Constructor Detail

      • DecoderInitializationException

        public DecoderInitializationException​(Format format,
                                              @Nullable
                                              Throwable cause,
                                              boolean secureDecoderRequired,
                                              int errorCode)
      • DecoderInitializationException

        public DecoderInitializationException​(Format format,
                                              @Nullable
                                              Throwable cause,
                                              boolean secureDecoderRequired,
                                              MediaCodecInfo mediaCodecInfo)