12 lines
371 B
TypeScript
12 lines
371 B
TypeScript
// Metro module 8850 (f8851).
|
|
import MediaEngineStore from "../../stores/MediaEngineStore";
|
|
import { Features } from "../../_bundle/Module4250";
|
|
export default function isVideoBackgroundSupported(r3 = MediaEngineStore) {
|
|
let r9 = r3.supports(Features.MEDIAPIPE);
|
|
const r6 = r3;
|
|
if (r9) {
|
|
r9 = Object.values(r6.getVideoDevices()).length > 0;
|
|
}
|
|
return r9;
|
|
};
|