Exemple #1
0
 @Override
 public void onPlayerError(ExoPlaybackException exception) {
   rendererBuildingState = RenderBuildingState.IDLE;
   for (ExoPlayerListener listener : listeners) {
     listener.onError(exception);
   }
 }
Exemple #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();
  }