Skip to content
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

microphone permission requested anyways with startOnLoad false #145

Open
Facuiguacel opened this issue Oct 18, 2024 · 2 comments
Open

microphone permission requested anyways with startOnLoad false #145

Facuiguacel opened this issue Oct 18, 2024 · 2 comments

Comments

@Facuiguacel
Copy link

Hi,

So I'm using the react useMicVad hook with startOnLoad set to false but the microphone access is still being requested as soon as the component loads and not when triggering the first "start". Is this intended? If yes it would be nice to be able to control when mic access is requested. As a workaround I had to separate the hook into a separate component, conditionally render it and forwardRef all the functions, which is not ideal.

@ricky0123
Copy link
Owner

Thanks @Facuiguacel we will add this

@stellacake
Copy link

stellacake commented Nov 14, 2024

Hi,
I have the same issue so I'm commenting to keep up with any update regarding this matter :)
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants