2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 8782
|
|
|
|
|
// Function ID: 69581
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isVideoBackgroundSupported
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4178, 4192, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 8782 (isVideoBackgroundSupported)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import { Features } from "DesktopSources";
|
|
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/video_backgrounds/isVideoBackgroundSupported.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function isVideoBackgroundSupported() {
|
|
|
|
|
let obj = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = _isNativeReflectConstruct;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
let supportsResult = obj.supports(Features.MEDIAPIPE);
|
|
|
|
|
if (supportsResult) {
|
|
|
|
|
const _Object = Object;
|
|
|
|
|
supportsResult = Object.values(obj.getVideoDevices()).length > 0;
|
|
|
|
|
}
|
|
|
|
|
return supportsResult;
|
|
|
|
|
};
|