python-sdks icon indicating copy to clipboard operation
python-sdks copied to clipboard

Enable Microphone & Play Content on Client Side

Open hrushiz opened this issue 1 year ago • 1 comments

Hi All,

I've my minimal_assistant.py running as an agent for livekit. I am using python SDK to interact with it. I'm able to connect to agent & publish audio track. I need help on below items:

  1. How to enable microphone at client side so that it recognizes whatever I say just like typical alexa device & sends the audio stream to agent
  2. Agent processes it & responds back in speech so that I can hear what was the response

Is there any sample for this? As I was exploring examples, I could only find basic_room one. Please let me know.

Regards, Hrushikesh

hrushiz avatar Oct 04 '24 04:10 hrushiz

@hrushiz

Hi, have you find the way? Thanks

nicolarigoni avatar Feb 12 '25 21:02 nicolarigoni