|
|
|
|
@ -76,7 +76,7 @@ public class ExoUtil { |
|
|
|
|
if (errorCode == PlaybackException.ERROR_CODE_PARSING_MANIFEST_MALFORMED) builder.setMimeType(MimeTypes.APPLICATION_OCTET); |
|
|
|
|
else if (errorCode == PlaybackException.ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED) builder.setMimeType(MimeTypes.APPLICATION_M3U8); |
|
|
|
|
if (!TextUtils.isEmpty(sub)) builder.setSubtitleConfigurations(getSubtitles(sub)); |
|
|
|
|
builder.setDecode(Prefers.getDecode()); |
|
|
|
|
builder.setAllowChunklessPreparation(Prefers.getDecode() == 1); |
|
|
|
|
return builder.build(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|