Update ExoUtil.java

pull/586/head
FongMi 2 years ago
parent 7980cd04aa
commit 8bc0e1c41b
  1. 2
      app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java

@ -117,7 +117,7 @@ public class ExoUtil {
}
public static int getRetry(int errorCode) {
return errorCode >= PlaybackException.ERROR_CODE_PARSING_CONTAINER_MALFORMED && errorCode <= PlaybackException.ERROR_CODE_PARSING_MANIFEST_UNSUPPORTED ? 2 : 1;
return errorCode >= PlaybackException.ERROR_CODE_PARSING_CONTAINER_MALFORMED && errorCode <= PlaybackException.ERROR_CODE_PARSING_MANIFEST_UNSUPPORTED ? 2 : errorCode > 999 ? 1 : 0;
}
public static MediaSource getSource(Result result, Sub sub, int errorCode) {

Loading…
Cancel
Save