Update ExoUtil.java

release
FongMi 2 years ago
parent caae8060ab
commit c3426f62b5
  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