From d53e466f2b3546ed1f3c1c84e095a4a7ee45b789 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 18 Sep 2024 16:08:15 +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 7983f5a..9647496 100644 --- a/rtcllm/vad.py +++ b/rtcllm/vad.py @@ -83,7 +83,7 @@ class MyVad(webrtcvad.Vad): duration = f.samples * 1000 / f.sample_rate + duration return duration - def vad_check(self, inframe): + async def vad_check(self, inframe): """ ONLY SUPPORT frame with sample_rate = 16000 samples = 160 """