GithubHelp home page GithubHelp logo

Comments (2)

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

I want to make sure that we're talking about the same thing. There is no startListening or startListeningiOS method in the STT package. The STT method is listen There is a startListening method in the example so perhaps you've called your methods the same?

For WebRTC, and other sound packages that use sound, there's no way to share the underlying sound resources of the OS, at least none that I've found. So you have to shutdown the WebRTC session while doing speech recognition then start it back up again afterwards.

from speech_to_text.

emrecodeway avatar emrecodeway commented on August 14, 2024

Thank you for your response and clarification.

I would like to confirm that startListening and startListeningiOS are indeed custom methods in my implementation, inspired by the example code provided in the package documentation. These methods function as expected.

However, the core issue I'm encountering is with the flutter_webrtc audio stream. Specifically, the audio gets muted after invoking the listen method from the package. This muting persists even after I execute the stop and cancel methods of the speech recognition package, before forwarding the recognized speech results to the streaming service.

On your suggestion, I will attempt to close the WebRTC session and then start a new one post-STT interaction, and I will observe that this approach does indeed resolve the audio issue. It seems like managing the WebRTC session state around the STT interactions is a viable workaround.

Thank you again for your assistance. It has been instrumental in helping me identify a solution.

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.