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
Keeps on asking Media Permission #53
Comments
ok looks like my chrome browser was screwed but even now after some intervals its keeps on asking..may be after 20 seconds? Am I missing something in the docs? |
https://support.google.com/chrome/answer/2693767?p=ib_access_cam_mic&rd=1
|
Yes, there is an issue in Chrome that it sometimes just stops listening after a while for no reason... annyang handles this by restarting the SpeechRecognition as soon as it is stopped. Unfortunately Chrome will ask you for permission again each time... Unless you are using HTTPS. This is why it's always recommended to use HTTPS with speech recognition. Thanks for the help @tychio |
This might also happen if you have more than one tab open using speech recognition at the same time, as only one instance of SpeechRecognition is allowed to listening at any time. You might get the following condition happening
This might actually cause the browser to crash, but annyang has some logic to prevent it... I've also worked with the Chromium team, and they've solved the underlying issue which caused the crash. |
I don't know why its happening but I just plugged in the js file(I downloaded on github and hosted on my server and gave the path). When I reload my server page it keeps on asking the Media permission again and again and I keep on clicking "Allow" in chrome(Version 29.0.1547.65)
The text was updated successfully, but these errors were encountered: