We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running in a test environment for Electron, spoken runs into an error quickly. Here is the code used.
spoken.listen.on.start( voice => { console.log('Started Listening') } ); spoken.listen.on.end( voice => { console.log('Ended Listening') } ); spoken.listen.on.error( voice => { console.log('Error Listening', voice) } ); spoken.listen.on.partial( ts => console.log(ts) ); spoken.listen() .then( ts => console.log("Partial: " + ts) ) .catch( error => console.warn(error.message) )
I then received the following error.
bubbles: false cancelBubble: false cancelable: false composed: false currentTarget: SpeechRecognition {grammars: SpeechGrammarList, lang: "en-US", continuous: false, interimResults: true, maxAlternatives: 1, …} defaultPrevented: false error: "network" eventPhase: 0 isTrusted: true message: "" path: [] returnValue: true srcElement: SpeechRecognition {grammars: SpeechGrammarList, lang: "en-US", continuous: false, interimResults: true, maxAlternatives: 1, …} target: SpeechRecognition {grammars: SpeechGrammarList, lang: "en-US", continuous: false, interimResults: true, maxAlternatives: 1, …} timeStamp: 472.00499998871237 type: "error"
I hope you can get back to me.
The text was updated successfully, but these errors were encountered:
error: "network" looks like may be a permissions issue. In electron config/system this may be needed: https://www.electronjs.org/docs/api/system-preferences#systempreferencesgetmediaaccessstatusmediatype-windows-macos
error: "network"
Sorry, something went wrong.
https://stackoverflow.com/questions/47226889/speechrecognition-network-error-when-working-with-electron-chromium-browser
Everything must be done over HTTPS to allow this technology to work.
HTTPS details: https://github.com/stephenlb/spoken#speech-to-text
No branches or pull requests
When running in a test environment for Electron, spoken runs into an error quickly. Here is the code used.
I then received the following error.
I hope you can get back to me.
The text was updated successfully, but these errors were encountered: