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

webkitSpeechRecognition disabled and no way of detection #2802

Open
bsclifton opened this issue Jan 3, 2019 · 1 comment
Open

webkitSpeechRecognition disabled and no way of detection #2802

bsclifton opened this issue Jan 3, 2019 · 1 comment
Projects

Comments

@bsclifton
Copy link
Member

@bsclifton bsclifton commented Jan 3, 2019

Description

Carried over from brave/browser-laptop#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

@bsclifton bsclifton added the audio label Jan 3, 2019
@bsclifton bsclifton added this to the 1.x Backlog milestone Jan 3, 2019
@rebron rebron added this to Untriaged Backlog in General Jan 8, 2019
@rebron rebron added the priority/P5 label Jan 15, 2019
@rebron rebron moved this from Untriaged Backlog to P3, P4, & P5 Backlog in General Jan 15, 2019
@rebron rebron moved this from P3 & P4 Backlog to P5 Backlog in General Jan 15, 2019
@rebron rebron removed this from the 1.x Backlog milestone Feb 7, 2019
@bsclifton
Copy link
Member Author

@bsclifton bsclifton commented Mar 15, 2019

+1 from #3618

I found an extension I really need ( https://chrome.google.com/webstore/detail/speech-recognition-anywhe/kdnnmhpmcakdilnofmllgcigkibjonof ) but looks like it's not going to work in Brave due to lack of support for speechSyntesis which seems to be supported by Chromium but not Brave.

Is that correct? If yes, why?
I truly believe speech-to-text API support is necessary in a modern browser, taking into account for example people like me with RSI / shoulder pain which make it difficult to type for long time.

You can see the answer by the extension's developer going to https://chrome.google.com/webstore/detail/speech-recognition-anywhe/kdnnmhpmcakdilnofmllgcigkibjonof -> Support tab. The question was asked with title Not working In Brave

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
General
  
P5 Backlog
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.