@Override public void onPlayerError(ExoPlaybackException error) { error.printStackTrace(); // Attempt to reload video removeCallbacks(errorRecoveryRunnable); postDelayed(errorRecoveryRunnable, DURATION); }
@Override public void onPlayerError(ExoPlaybackException error) { error.printStackTrace(); // Attempt to reload video removeCallbacks(errorRecoveryRunnable); postDelayed(errorRecoveryRunnable, DURATION); }