release
FongMi 2 months ago
parent 40cf400fa1
commit 22a9a8d8bf
  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