Auto Audio Recording Feature

Hello Everyone!
I am working on a chatbot project and I am facing an issue while integrating speech to speech functionality. I want the chatbot to work in such a way that the user voice is auto recorded without pressing any button and the bot messages are auto read aloud. I’ve tried every possible way but failed to resolve this issue.
So kindly tell me that does streamlit itself blocks this feature or I am doing something wrong