From 2d06b5e970001c4268caa7edd9ce6919ec958ec9 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 22 May 2024 02:28:19 +0600 Subject: [PATCH] tiktok: fix m4a being a video with m4a extension --- src/modules/processing/matchActionDecider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js index 35c8457a..289f8595 100644 --- a/src/modules/processing/matchActionDecider.js +++ b/src/modules/processing/matchActionDecider.js @@ -70,8 +70,8 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di break; case "tiktok": let audioStreamType = "render"; - if (audioFormat === r.bestAudio || audioFormat === "best") { - audioFormat = r.bestAudio; + if (audioFormat === "mp3" || audioFormat === "best") { + audioFormat = "mp3"; audioStreamType = "bridge" } params = {