diff --git a/observe_nema.html b/observe_nema.html index 1bc7404..7959453 100644 --- a/observe_nema.html +++ b/observe_nema.html @@ -505,25 +505,7 @@ // width of FoV -- will be supplied by FLASK microscope setup. 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