Closing camera stream
See original GitHub issueIs there a way to manually close the camera stream? Right now we have an issue where the camera will stay on when you start the component that uses <qrcode-stream>
and close it before the camera is loaded. It will then turn on after the component has been closed and will stay on until the application is reloaded. It would be great to have a way to cancel / shutdown the stream when the component is unmounted or something, or to manually close any open streams.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Stop/Close webcam stream which is opened by navigator ...
This only stops showing the video in the <video> tag, but doesn't stop the camera. – G. Führ. Dec 28, 2015 at 13:08....
Read more >Camera Stream not closing (keeps connection alive)
I am streaming a camera. On lovelace I have the camera card. So a picture appears. As soon as I click on the...
Read more >Ending a camera video stream in Python / threading
But the serve_forever command means that it's permanently streaming (unsurprisingly!) and won't move out of it to go back to capture. I've tried ......
Read more >Stream Deck: shut down camera : r/elgato - Reddit
Stream Deck: shut down camera. Hi there,. I'd love to be able to "black out" or anything else my camera with the press...
Read more >Video Streaming Raspberry Pi Camera | Random Nerd Tutorials
close () at the end of the camera streaming script. I hope this helps. Regards, Sara. Reply.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, will test that in a bit. For the time being I had disabled closing the component until the stream was properly loaded, which also solved the issue as you could no longer immediately close it 😬
Thanks, I’ll take a look into the demo you linked and the workaround. If you need any additional information to reproduce it, let me know!