From c05f9d7c89488c390996dc045d0f08c1305c5c99 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 11 Sep 2024 15:35:49 +0800 Subject: [PATCH] bugfix --- rtcllm/a2a.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtcllm/a2a.py b/rtcllm/a2a.py index 4a15430..d44f0ec 100644 --- a/rtcllm/a2a.py +++ b/rtcllm/a2a.py @@ -18,7 +18,7 @@ class LLMAudioStreamTrack(AudioStreamTrack): b = self.get_audio_bytes() if b is None: print('LLMAudioStreamTrack return None ...') - return b + return await super().recv() frame = AudioFrame.from_ndarray(io.BytesIO(b), format='s16', layout='mono') print('LLMAudioStreamTrack return frame ...') return frame