From b53c82b2ec74f104e171fcc91fcb110a93bf5b8f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 13 Sep 2024 11:15:10 +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 e6a460a..f687e51 100644 --- a/rtcllm/vad.py +++ b/rtcllm/vad.py @@ -50,7 +50,7 @@ class AudioTrackVad(MediaStreamTrack): oldf = await self.track.recv() self.sample_rate = oldf.sample_rate duration = (oldf.samples * 1000) / oldf.sample_rate - print(f'{self.__class__.__name__}.recv(): {duration=}, {oldf.samples=}, (oldf.sample_rate=}') + print(f'{self.__class__.__name__}.recv(): {duration=}, {oldf.samples=}, {oldf.sample_rate=}') frames = self.resample(oldf) for f in frames: if self.debug: