release
FongMi 3 weeks ago
parent 580c270095
commit a30ad7073b
  1. 1
      app/src/main/java/com/fongmi/android/tv/player/exo/ExoUtil.java

@ -84,7 +84,6 @@ public class ExoUtil {
}
public static String getMimeType(int errorCode) {
if (errorCode == PlaybackException.ERROR_CODE_PARSING_MANIFEST_UNSUPPORTED || errorCode == PlaybackException.ERROR_CODE_PARSING_MANIFEST_MALFORMED) return MimeTypes.BASE_TYPE_APPLICATION;
if (errorCode == PlaybackException.ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED || errorCode == PlaybackException.ERROR_CODE_PARSING_CONTAINER_MALFORMED || errorCode == PlaybackException.ERROR_CODE_IO_UNSPECIFIED) return MimeTypes.APPLICATION_M3U8;
return null;
}

Loading…
Cancel
Save