From 59f59d7d6657c160bd2f47eb7cd74412685c6f86 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 14 Sep 2024 15:14:31 +0800 Subject: [PATCH] bugfix --- rtcllm/vad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtcllm/vad.py b/rtcllm/vad.py index 2bdf3da..08a26d9 100644 --- a/rtcllm/vad.py +++ b/rtcllm/vad.py @@ -61,7 +61,7 @@ class AudioTrackVad(MediaStreamTrack): self.task.cancel() if self.running: self.task = self.loop.call_later(self.frame_duration_ms, self._recv) - return f + return frame def resample(self, frame, sample_rate=None): if sample_rate is None: