Difficulty with audio input and model audio output
Having difficulty with using audio input and model response audio with adk-samples agents. The "agent speaking" icon immediately appears after an audio prompt. Then no response from the model. Text prompt and response works fine. Any assistance is greatly appreciated. Audio does work on simple agents in the ADK-PYTHON repo. but seems easy to break depending on the agent.py configuration.
I had the same experience as @moorejeffreyonmicrosoft when running the same example locally (with token streaming enabled). I could chat via text but although pressing the microphone icon showed the "Speaking..." text on the chat, it did not seem to reusnt
I suspect that, in my case at least, this was due to a combination of:
- the app not requesting microphone permissions
- the Chrome browser not allowing me to change them in the Chrome settings (most probably because the http://0.0.0.0:8000 was not considered secure as it's not using HTTPS
- perhaps something else
@IvanNardini / @inardini do you happen to know how this setup differs from the one you used in your demo
@edu-ap for your issue, you should use http://localhost:8000.
@moorejeffreyonmicrosoft The live anent @edu-ap shared in the demo should work.
Live agent is still an experimental feature so not all functionality is supported. So you can't convert any arbitrary of agents into live agent(but it will soon). Here are some features that is being developed: https://google.github.io/adk-docs/get-started/quickstart-streaming/#note-on-adk-streaming .
I suggest you start to implement your agent from simple ones and then develop more features over time. If you come across any features you think is missing in Live Agent, let us know.
Thank you very much for the feedback and follow up.
Best Regards Jeff
@hangfei thank you for your reply, I'll try that next time. I was using the 0.0.0.0:8000 address as that is what came out as default and seemed to work for text chat (a VM on my laptop). I'll report back if I have any further questions. Many thanks again!
Closing the issue as it seems to be resolved