Hello gang,
I’ve an issue concerning the part of receiving response using LIVE API, could any explain me why it happens and how prevent it ?
Here’s a snippet of my code :
turn = session.receive()
print("Getting response")
print(turn)
start = time.perf_counter()
async for response in turn:
if response.data is not None:
wav_chunk = create_wav_chunk(response.data)
yield wav_chunk