bugfix
This commit is contained in:
parent
0d2b45ca72
commit
0e3204c73e
@ -52,7 +52,7 @@ class AudioTrackVad(MediaStreamTrack):
|
|||||||
duration = (frame.samples * 1000) / frame.sample_rate
|
duration = (frame.samples * 1000) / frame.sample_rate
|
||||||
# print(f'{self.__class__.__name__}.recv(): {duration=}, {frame.samples=}, {frame.sample_rate=}')
|
# print(f'{self.__class__.__name__}.recv(): {duration=}, {frame.samples=}, {frame.sample_rate=}')
|
||||||
try:
|
try:
|
||||||
await self.vad_check(f)
|
await self.vad_check(frame)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f'{e=}')
|
print(f'{e=}')
|
||||||
print_exc()
|
print_exc()
|
||||||
|
Loading…
Reference in New Issue
Block a user