send_audio
Method
This is a method of the RealtimeAgent class in the realtime_agent module.Send audio data (sync wrapper).
Signature
Parameters
Raw audio bytes (PCM16 format)
Returns
True if sent successfully
Uses
asyncio.get_event_looploop.is_runningloop.run_until_completeasend_audioasyncio.new_event_loopasyncio.set_event_loop
Source
View on GitHub
praisonaiagents/agent/realtime_agent.py at line 308
