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

Speech-to-Text: Return {} when navigator.mediaDevices is falsy/undefined #98

Open
compulim opened this issue Apr 3, 2020 · 0 comments

Comments

@compulim
Copy link
Owner

compulim commented Apr 3, 2020

Today, on initialization for TTS, we will check if navigator.mediaDevices is falsy/undefined. If it is, we will return a {} and print warnings.

We should do the same for STT.

navigator.mediaDevices is falsy/undefined when:

  • Running on IE11, or
  • On an insecure page and it is not localhost
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

1 participant