原画多线程,分享原画不转存,原画普画15分钟过期问题修复
This commit is contained in:
parent
8c9cf31df3
commit
cda3b23b11
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue