Skip to content

Not working on mac #11

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

Open
aliabid94 opened this issue Sep 15, 2021 · 2 comments
Open

Not working on mac #11

aliabid94 opened this issue Sep 15, 2021 · 2 comments

Comments

@aliabid94
Copy link

Get TypeError: Cannot read properties of null (reading 'getAudioTracks')
Works fine on Windows

image

@lxtmohamedfaried
Copy link

lxtmohamedfaried commented May 23, 2022

I had the same issue and later discovered that is the behavior when the user doesn't allow the site to access the mic. It is still a bug because the recorder seems to recording correctly by the the exception is thrown when you try to stop the recorder element.

My recommendation that you don't display or include the recorder component when the mic access is not allowed.

@taylorchance
Copy link

Im having this exact error as well, only on ios Safari. I tried what was recommended by

navigator.mediaDevices.getUserMedia({audio: true}).then(() => { setHasPermissions(true) })

I only display the whole component until there is permissions, but I still get the exact error.

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