bugfix
This commit is contained in:
parent
24a0ddb28d
commit
9ea44d5a5d
@ -106,7 +106,7 @@ class AudioTrackVad(MediaStreamTrack):
|
|||||||
ret = await self.write_wave()
|
ret = await self.write_wave()
|
||||||
await self.onvoiceend(ret)
|
await self.onvoiceend(ret)
|
||||||
else:
|
else:
|
||||||
print(f'{duration=} {self.onvoiceend=}')
|
print(f'vad sound {duration=}')
|
||||||
|
|
||||||
self.ring_buffer.clear()
|
self.ring_buffer.clear()
|
||||||
self.voiced_frames = []
|
self.voiced_frames = []
|
||||||
|
Loading…
Reference in New Issue
Block a user