Package com.castlabs.android.player

## Interface MediaTrackEventListener

- All Known Implementing Classes:
    `AudioTrackListener`, `VideoTrackListener`

      public interface MediaTrackEventListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onCryptoError​(MediaCodec.CryptoException e)` | Invoked when a decoder operation raises a `DecryptionException`.
    `void` | `onDecoderInitializationError​(com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException e)` | Invoked when a decoder fails to initialize.

- - ### Method Detail

    - #### onDecoderInitializationError

          void onDecoderInitializationError​(com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException e)

      Invoked when a decoder fails to initialize.
      Parameters:
        `e` - The corresponding exception.

    - #### onCryptoError

          void onCryptoError​(MediaCodec.CryptoException e)

      Invoked when a decoder operation raises a `DecryptionException`.
      Parameters:
        `e` - The corresponding exception.