# Ui Webcam node problems 0.4.0

**URL:** <https://discourse.nodered.org/t/ui-webcam-node-problems-0-4-0/61630>\
**Category:** Dashboard\
**Created:** [22 April 2022 08:42 UTC](https://discourse.nodered.org/t/ui-webcam-node-problems-0-4-0/61630 "2022-04-22T08:42:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaap](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@jaap](https://discourse.nodered.org/u/jaap)\
**Post date:** [22 April 2022 08:42 UTC](https://discourse.nodered.org/t/ui-webcam-node-problems-0-4-0/61630/1 "2022-04-22T08:42:43Z")

</div>

Hi, I have used the ui- webcam node V0.4.0 I habe 2 problems with that.  
first. When i select a cam fom the dropdown menu for example cam 4 (index3) than my phone is switch to the right camera. But when i refresh the page of restart the flows, Always the cam is starting with cam 1 (index 0). When i check the local storage. "node-red-node-ui-webcam-activeCam" then the index is right (3).

Problem 2.  
When i send a index number (msg.camera) with the inject node to the webcam node the camera is always switch off when i send it.

How can i fix these problems?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 May 2022 08:43 UTC](https://discourse.nodered.org/t/ui-webcam-node-problems-0-4-0/61630/2 "2022-05-22T08:43:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
