-
Notifications
You must be signed in to change notification settings - Fork 40
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
Turn on/off camera #21
Comments
Same question - how to turn off/on camera? |
Hi, I don't know how to turn off camera by code. Just can do that by
closing the app or browser tab.
…On Wed, Nov 4, 2020, 01:40 Ruslan Kyba ***@***.***> wrote:
@drigos <https://github.com/drigos> @yeungma <https://github.com/yeungma>
What do you mean by that? Do you want to stops video stream? OR phyisycally
turn camera off?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQJNB3LGNFANDJ7KIIFX7LSOA6CFANCNFSM4M5T7MTQ>
.
|
The cam turn off when you unmount component |
this works for me in my react project set a hook eg. assign a button to toggle this hook, then use this hook to control 《QrReader》 in the render section |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to turn camera off and on?
The text was updated successfully, but these errors were encountered: