Remove input track descriptors, add async getters on tracks for everything, deprecate old sync getters

This commit is contained in:
Vanilagy
2026-04-10 16:23:17 +02:00
parent aa810fc433
commit 051578c2ca
42 changed files with 1386 additions and 1504 deletions
+2
View File
@@ -636,6 +636,7 @@ export const isWebKit = () => {
return isWebKitCache = !!(
typeof navigator !== 'undefined'
&& (
// eslint-disable-next-line @typescript-eslint/no-deprecated
navigator.vendor?.match(/apple/i)
// Or, in workers:
|| (/AppleWebKit/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent))
@@ -661,6 +662,7 @@ export const isChromium = () => {
return isChromiumCache = !!(
typeof navigator !== 'undefined'
// eslint-disable-next-line @typescript-eslint/no-deprecated
&& (navigator.vendor?.includes('Google Inc') || /Chrome/.test(navigator.userAgent))
);
};