api/youtube: use the iOS client for <=1080p vp9 videos

This commit is contained in:
wukko 2025-03-21 21:29:25 +06:00
parent ee94513580
commit cf17f53405
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -109,7 +109,7 @@ export default async function (o) {
&& innertubeClient === "IOS" && innertubeClient === "IOS"
&& ( && (
(quality > 1080 && o.format !== "h264") (quality > 1080 && o.format !== "h264")
|| o.format === "vp9" || (quality > 1080 && o.format !== "vp9")
) )
) )
); );