Hi. I've got a phone with front and back cameras. I'm tryng to switch between them using msg.camera with no success.
Which node are you reporting an issue on?
node-red-node-ui-webcam
What are the steps to reproduce?
Use an inject node + change node to send msg.camera=[any number from 0 to n] to webcam node
What happens?
The camera is disabled, and stays disabled until I activate it clicking the canvas. No matter what I send, it always reverts to the front camera. So there's no way to switch to the back camera unless using the dropdown selector.
Even after using the dropdown selector to choose the back camera, anytime I reload the page it switches back to the front camera. It seems LocalStorage is working inconsistently. There's no way to save the back camera as the default.
Also tested with and without "Start webcam automatically" option checked.
What do you expect to happen?
Switch between front and back camera normally, as it happens when I use the dropdown selector inside the canvas.
Hi. I've got a phone with front and back cameras. I'm tryng to switch between them using
msg.camera
with no success.Which node are you reporting an issue on?
node-red-node-ui-webcam
What are the steps to reproduce?
Use an inject node + change node to send
msg.camera=[any number from 0 to n]
to webcam nodeWhat happens?
What do you expect to happen?
Switch between front and back camera normally, as it happens when I use the dropdown selector inside the canvas.
Please tell us about your environment: