Closed haresh6x closed 2 years ago
I am using react-webcam with reference to this codepen source: https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010
But when the component is unmounted, camera status and LED is still on until the tab is closed. I went through the documentation but couldn't find any reference for the same.
How do I fix it?
Does this example work? https://codepen.io/mozmorris/pen/PBezdq
Thank you!
I am using react-webcam with reference to this codepen source: https://codepen.io/mozmorris/pen/yLYKzyp?editors=0010
But when the component is unmounted, camera status and LED is still on until the tab is closed. I went through the documentation but couldn't find any reference for the same.
How do I fix it?