From e940467a2be35c62e05390a39e68cdb6c5e91b5c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 18 Sep 2024 16:29:18 +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 e381a28..02f1f43 100644 --- a/rtcllm/vad.py +++ b/rtcllm/vad.py @@ -146,7 +146,7 @@ class AudioTrackVad(MediaStreamTrack): def stop(self): self.running = False - def to16000_160_frames(frame): + def to16000_160_frames(self, frame): frames = resample(frame, sample_rate=16000) ret_frames = [] for f in frames: