@100mslive/roomkit-react 0.3.19-alpha.14 → 0.3.19-alpha.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-NMEMV6IQ.js → HLSView-U7F2BKBY.js} +43 -43
- package/dist/{HLSView-NMEMV6IQ.js.map → HLSView-U7F2BKBY.js.map} +1 -1
- package/dist/{HLSView-CZOXJTV5.css → HLSView-XE3NUHCX.css} +19 -67
- package/dist/{HLSView-CZOXJTV5.css.map → HLSView-XE3NUHCX.css.map} +2 -2
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +1 -0
- package/dist/{chunk-ZDEVOXM2.js → chunk-36E6AAIG.js} +305 -290
- package/dist/chunk-36E6AAIG.js.map +7 -0
- package/dist/index.cjs.css +18 -66
- package/dist/index.cjs.css.map +2 -2
- package/dist/index.cjs.js +774 -759
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +18 -66
- package/dist/index.css.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +128 -147
- package/dist/meta.esbuild.json +147 -166
- package/package.json +7 -7
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +13 -1
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -6
- package/dist/Prebuilt/components/VirtualBackground/util.d.ts +0 -1
- package/dist/chunk-ZDEVOXM2.js.map +0 -7
- package/src/Prebuilt/components/VirtualBackground/util.tsx +0 -13
@@ -1,13 +0,0 @@
|
|
1
|
-
import { parsedUserAgent } from '@100mslive/react-sdk';
|
2
|
-
import { isSafari } from '../../common/constants';
|
3
|
-
|
4
|
-
export const doesBrowserSupportEffectsSDK = () => {
|
5
|
-
if (!isSafari) {
|
6
|
-
return true;
|
7
|
-
}
|
8
|
-
const browserVersion = parsedUserAgent?.getBrowser()?.version || '16';
|
9
|
-
if (browserVersion && parseInt(browserVersion.split('.')[0]) < 17) {
|
10
|
-
return false;
|
11
|
-
}
|
12
|
-
return true;
|
13
|
-
};
|