-
Notifications
You must be signed in to change notification settings - Fork 30
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 to turnoff camera instance when navigating to different page #21
Comments
Fix |
The camera shouldn't stay on between different pages. This sounds like you might need to look into your implementation on route/state change. |
I have been using this library and recently noticed that the camera does not get disabled even though the disable function gets called. Getting the following error on console
|
This library isn't actively maintained, so it's possible the API for camera access if your browser is different than the original version. If you'd like to submit a PR, I can take a look. |
solved the arguments issue with adding the error part but still, the camera is not being disabled. No error on the console and the stream stops but the camera is not released |
#22 Should address. Target the branch directly for now. Won't be able to tag new release yet. |
the stream stops after changing the disable function but as I mentioned above the camera is not released. The camera lights is still on and no other application can use it until I close the tab |
OK, will reopen this issue for others. I will not have time to address this anytime soon, but if you'd like to give it a try @yousheakhan I will review your pull request. |
Hi, i've been using your plugin for user registration and it works great on my app. Now, I'm just wondering how to turn off the camera instance when I navigate to a different page. Thanks!
The text was updated successfully, but these errors were encountered: