This commit is contained in:
yumoqing 2024-09-18 16:08:15 +08:00
parent 2d7705a8cf
commit d53e466f2b

View File

@ -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
"""