GithubHelp home page GithubHelp logo

Comments (4)

BogdanSinitsa avatar BogdanSinitsa commented on August 14, 2024

I have reverted to version 0.8.0. Now it works.

from speech_to_text.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

dcosta-desenbahia avatar dcosta-desenbahia commented on August 14, 2024

@sowens-csd

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.

BogdanSinitsa avatar BogdanSinitsa commented on August 14, 2024

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.

  1. invoke 'listener' function
  2. say something indistinguishable. A sound or a word in another language.
  3. v0.7.1 - onError callback got called. v1.1.0 - nothing happens.

from speech_to_text.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.