Comments (4)
I have reverted to version 0.8.0. Now it works.
from speech_to_text.
Can you give me the steps to reproduce this? The key difference in error handling in recent versions is that it now only notifies of an error while in listening mode isListening
is true. From the log excerpt you included it looks like it should have been in listening mode but having the steps to reproduce would help.
from speech_to_text.
The problem is that the listening mode (isListening) is false because the _onNotifyStatus method is called before _onNotifyError method:
I/flutter (24989): SpeechToText call: notifyStatus notListening
I/flutter (24989): notListening
I/flutter (24989): SpeechToText call: notifyError {"errorMsg":"error_no_match","permanent":true}
_onNotifyError:
if ( isNotListening ) {
return;
}
from speech_to_text.
Can you give me the steps to reproduce this? The key difference in error handling in recent versions is that it now only notifies of an error while in listening mode
isListening
is true. From the log excerpt you included it looks like it should have been in listening mode but having the steps to reproduce would help.
Sorry for the long response.
The code is the same as from example.
Steps to reproduce.
- invoke 'listener' function
- say something indistinguishable. A sound or a word in another language.
- v0.7.1 - onError callback got called. v1.1.0 - nothing happens.
from speech_to_text.
Related Issues (20)
- Started listening without any error but cant get speechResult on SM-G9650/DS HOT 1
- in Android HOT 1
- Error when build with real device HOT 2
- W/Bundle (11745): Key results_recognition expected ArrayList<String> but value was a java.lang.String. The default value <null> was returned. HOT 1
- Continuous listening HOT 1
- Can't get locales on Android HOT 6
- Compound words issue HOT 2
- [Question:About hiragana in Japanese] HOT 2
- Fails to function with car's Bluetooth connection HOT 2
- 'error_no_match' does not get fired when user stops listening HOT 1
- Not work with airpods in iOS HOT 1
- iOS often misses the first word after calling `.listen()` for n+1 times HOT 3
- Request to Add Option to Disable Notification Sound on Android HOT 2
- [iOS] Entering page again to initialize, the last statusListener is unable to update widgets. HOT 1
- Arabic diacritics (Harakat) HOT 1
- iOS, onResult is not called HOT 7
- Getting Error 7 after start. HOT 7
- OnDevice doesnโt work if wifi is turned off HOT 1
- how to clear result.recognizedWords HOT 1
- Wan't to Add some extra languages, working in andriod but thworing exception in IOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speech_to_text.