Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Stop Recognisition after max speech time out #119

@Santhu

Description

@Santhu

Hello,

case1
when used with the sample when max speech time out is reached it again start the voice started and again continue listening.when we are doing stop audio and finish recognition also its not stopping.
after searching googling found out the stop API is holding a thread lock which i removed later.

case2
when you start the recognition and don't utter anything after specific reach of time it should break the loop which is not happening. And in this case isHearing api is giving true(might be they are not cancelling noise).

case3
when you wifi and mobile is off and when you ON the mobile data and when we start the activity and check isNetwork is connected true and start the recognition then its throwing onError in
private final StreamObserver mResponseObserver
= new StreamObserver()

Error calling the API.java.net.UnknownHostException:
Unable to resolve host "speech.googleapis.com": No address associated with hostname

Can we have simple sample with button to start the recognition and stop button to stop it. and if we dont speak it should stop itself after few seconds

thanks
Santhosh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions