原画多线程,分享原画不转存,原画普画15分钟过期问题修复

This commit is contained in:
okjack 2023-11-29 21:28:28 +08:00
parent 8c9cf31df3
commit cda3b23b11
1 changed files with 8 additions and 0 deletions

View File

@ -113,6 +113,14 @@ public class MultiThreadedDownloader {
contentType = "video/mpeg"; contentType = "video/mpeg";
} else if (contentDisposition.endsWith(".3gp")) { } else if (contentDisposition.endsWith(".3gp")) {
contentType = "video/3gpp"; contentType = "video/3gpp";
} else if (contentDisposition.endsWith(".ts")) {
contentType = "video/MP2T";
} else if (contentDisposition.endsWith(".mp3")) {
contentType = "audio/mp3";
} else if (contentDisposition.endsWith(".wav")) {
contentType = "audio/wav";
} else if (contentDisposition.endsWith(".aac")) {
contentType = "audio/aac";
} }
} }
if (contentType == null) { if (contentType == null) {