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
Send audio data (sync wrapper).
This is a method of the RealtimeAgent class in the realtime_agent module.Send audio data (sync wrapper).
def send_audio(audio_data: bytes) -> bool