-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we stop preview/close camera in javascript function? #31
Comments
you can stop the rendering loop to not use resources, but you cannot release the camera. |
Would it be possible to get a method added to release the camera? The use case for the app I'm using this in makes it pretty important to disable the camera after it's being used. If it's not something that will be added, I can just use a workaround I made by slightly modifying the |
Hi, Indeed, this feature is currently not implemented in this Github repository. Best regards, |
If I made a PR, would you be willing to consider adding it? |
Sure, I will add it if it brings a new feature. |
I have a button, javascript function is called onclick. I want to stop the preview in javascript function.
The text was updated successfully, but these errors were encountered: