remove js to prepare camera toggeling

This commit is contained in:
lukas fricke 2025-01-29 15:45:58 +01:00
parent 77e4204ae0
commit 3120db9624

View file

@ -505,25 +505,7 @@
// width of FoV -- will be supplied by FLASK microscope setup. // width of FoV -- will be supplied by FLASK microscope setup.
var real_width_FoV = 255; var real_width_FoV = 255;
// init video switching get IDs of video inputs
var deviceIDs = [];
navigator.mediaDevices
.enumerateDevices()
.then((devices) => {
devices.forEach((device) => {
if (device.kind=="videoinput"){
deviceIDs.push(device.deviceId);
}
console.log(`${device.kind}: ${device.label} id = ${device.deviceId}`);
});
})
.catch((err) => {
console.error(`${err.name}: ${err.message}`);
});
// toggle between cameras
// init drawing // init drawing