mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 11:18:28 +00:00
tiktok: fix m4a being a video with m4a extension
This commit is contained in:
parent
9faccc0a90
commit
2d06b5e970
@ -70,8 +70,8 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di
|
|||||||
break;
|
break;
|
||||||
case "tiktok":
|
case "tiktok":
|
||||||
let audioStreamType = "render";
|
let audioStreamType = "render";
|
||||||
if (audioFormat === r.bestAudio || audioFormat === "best") {
|
if (audioFormat === "mp3" || audioFormat === "best") {
|
||||||
audioFormat = r.bestAudio;
|
audioFormat = "mp3";
|
||||||
audioStreamType = "bridge"
|
audioStreamType = "bridge"
|
||||||
}
|
}
|
||||||
params = {
|
params = {
|
||||||
|
Loading…
Reference in New Issue
Block a user