tiktok: fix m4a being a video with m4a extension

This commit is contained in:
wukko 2024-05-22 02:28:19 +06:00
parent 9faccc0a90
commit 2d06b5e970
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -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 = {