webkitSpeechRecognition disabled and no way of detection
See original GitHub issueDescription
Carried over from https://github.com/brave/browser-laptop/issues/15312
In our application, we use a Speech to Text Recognition. Depending on whether or not a service is available in a given browser, we’ll go in the following order for the used service.
Web Speech API Watson API Google Speech Web Speech API is available in Chrome, which makes it available in Brave. However, it is disabled in Brave from returning data results, and we have no way of telling which speech service to use.
We need a way of detecting whether the Browser is a Brave browser so we know to ignore the disabled API, or for the API to be removed since it is not functional.
Steps to Reproduce
navigator.getUserMedia({ audio: true },
(stream) => {
let recognition = new Recognition()
// API Options
recognition.lang = 'en-US';
recognition.maxAlternatives = 1
recognition.interimResults = true;
// Results callback
recognition.onresult = (event) => console.log(event)
recognition.start()
}
What version of Brave are you using?
5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:15 (1 by maintainers)
Top GitHub Comments
any news on this? it’s been mad quiet here and this seems like a feature that should have been implemented and working a long time ago
Hi, I have also the same issue. Speech synthesis API is not working on the brave browser and working in all the other browser is there any solution for this?