api/match-action: clean up audio action

This commit is contained in:
wukko
2024-08-22 22:45:26 +06:00
parent b3d846a1e3
commit 102dec4a84
6 changed files with 31 additions and 42 deletions

View File

@@ -63,7 +63,8 @@ const getDirectLink = (data, quality) => {
resolution: `${match.width}x${match.height}`,
qualityLabel: match.rendition,
extension: "mp4"
}
},
bestAudio: "mp3",
}
}
@@ -131,7 +132,8 @@ const getHLS = async (configURL, obj) => {
resolution: `${bestQuality.resolution.width}x${bestQuality.resolution.height}`,
qualityLabel: `${resolutionMatch[bestQuality.resolution.width]}p`,
extension: "mp4"
}
},
bestAudio: "mp3",
}
}