@Override public void onPlayerError(ExoPlaybackException exception) { rendererBuildingState = RenderBuildingState.IDLE; for (ExoPlayerListener listener : listeners) { listener.onError(exception); } }
public void onRenderersError(Exception e) { builderCallback = null; if (internalErrorListener != null) { internalErrorListener.onRendererInitializationError(e); } for (ExoPlayerListener listener : listeners) { listener.onError(e); } rendererBuildingState = RenderBuildingState.IDLE; reportPlayerState(); }