fix(recording): avoid duplicate system audio fallback

This commit is contained in:
wiiiii123
2026-05-22 18:16:19 +07:00
parent 7fe818f7f8
commit 059544df05
+1 -2
View File
@@ -512,8 +512,7 @@ export async function getCompanionAudioFallbackInfo(videoPath: string) {
new Set(
companionCandidates.flatMap((candidate) =>
candidate.usablePaths.filter(
(companionPath) =>
companionPath === candidate.micPath || companionPath === candidate.systemPath,
(companionPath) => companionPath === candidate.micPath,
),
),
),