Package 

Interface ExoPlayerVideoDisplayComponent.InternalErrorListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onPlayerError(Exception e) Called when an error occurs on the Player.
      abstract void onAudioTrackUnderrun(AnalyticsListener.EventTime eventTime, int bufferSize, long bufferSizeMs, long elapsedSinceLastFeedMs) Called when an audio underrun occurred.
      abstract void onAudioTrackUnderrun(int bufferSize, long bufferSizeMs, long elapsedSinceLastFeedMs)
      abstract void onLoadError(int trackType, IOException e) Called when a load error occurs.
      abstract void onDrmSessionManagerError(Exception e) Called when a DRM error occurs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onPlayerError

         abstract void onPlayerError(Exception e)

        Called when an error occurs on the Player. The Player instance can still be usedand {@code Player.release()} must still be called.

        Parameters:
        e - The error.
      • onAudioTrackUnderrun

         abstract void onAudioTrackUnderrun(AnalyticsListener.EventTime eventTime, int bufferSize, long bufferSizeMs, long elapsedSinceLastFeedMs)

        Called when an audio underrun occurred.

        Parameters:
        eventTime - Contains details of the event.
        bufferSize - The size of the AudioSink's buffer, in bytes.
        bufferSizeMs - The size of the AudioSink's buffer, in milliseconds, if it isconfigured for PCM output.
        elapsedSinceLastFeedMs - The time since the AudioSink was last fed data.
      • onLoadError

         abstract void onLoadError(int trackType, IOException e)

        Called when a load error occurs.

        Parameters:
        trackType - One of the C{@code TRACK_TYPE_*} constants.
        e - the error.