google-assistant icon indicating copy to clipboard operation
google-assistant copied to clipboard

How to Stop audio stream from google to my program.

Open alimohyudin opened this issue 7 years ago • 2 comments

Hi, Everything is working fine. :) but I want to stop audio stream from google sometimes. For example:

1- I speak to assistant: Tell me something about guns. 2- Assistant sends me back transcription as "Tell me something about guns." with audio response (I don't want audio response) 3- I want my program to say: Are you sure you want to know about guns? (I can do it by using transcription, no problem) 4- Then I will perform next task I want to do.

On 2nd step, I just don't want my assistant to continue, I just want it to Stop Forcefully! I can remove the audio-data event but the conversation is not properly end there. how I can achieve that?

Thanks in advance!

alimohyudin avatar Dec 08 '17 05:12 alimohyudin

This one is tricky, I tired to do this a while back without success. I'll keep an eye out to see if this ever gets supported though.

endoplasmic avatar Jan 13 '18 21:01 endoplasmic

Yes sure and it is tricky but it exists as I tested Google Assistant on Android and it doesn't give me audio back but just respond with an answer and the conversation continuous without audio from google. But I will let you know if I get any success so that it will be available for everyone.

alimohyudin avatar Jan 13 '18 21:01 alimohyudin