Code is not executed in Processing, but in p5.js Web Editor

I really don’t get why your original demo would get your both cameras and mine couldn’t.

I think your method is only getting one video input and the field strings are empty. Just like navigator.mediaDevices.enumerateDevices() except your version goes ahead and opens the camera, while the original technique just turned on the camera’s little green light but did not capture the image. Here’s the array from function collectAvailableVideoDevices(): I used console.log() instead of console.table()