示例#1
0
 @Override
 public void onDecoderInitializationError(
     MediaCodecTrackRenderer.DecoderInitializationException e) {
   if (internalErrorListener != null) {
     internalErrorListener.onDecoderInitializationError(e);
   }
 }
示例#2
0
  public void onRenderersError(Exception e) {
    builderCallback = null;
    if (internalErrorListener != null) {
      internalErrorListener.onRendererInitializationError(e);
    }

    for (ExoPlayerListener listener : listeners) {
      listener.onError(e);
    }

    rendererBuildingState = RenderBuildingState.IDLE;
    reportPlayerState();
  }
示例#3
0
 @Override
 public void onLoadError(int sourceId, IOException e) {
   if (internalErrorListener != null) {
     internalErrorListener.onLoadError(sourceId, e);
   }
 }
示例#4
0
 @Override
 public void onCryptoError(MediaCodec.CryptoException e) {
   if (internalErrorListener != null) {
     internalErrorListener.onCryptoError(e);
   }
 }
示例#5
0
 @Override
 public void onAudioTrackWriteError(AudioTrack.WriteException e) {
   if (internalErrorListener != null) {
     internalErrorListener.onAudioTrackWriteError(e);
   }
 }
示例#6
0
 @Override
 public void onAudioTrackInitializationError(AudioTrack.InitializationException e) {
   if (internalErrorListener != null) {
     internalErrorListener.onAudioTrackInitializationError(e);
   }
 }
示例#7
0
 @Override
 public void onDrmSessionManagerError(Exception e) {
   if (internalErrorListener != null) {
     internalErrorListener.onDrmSessionManagerError(e);
   }
 }