[event] fix bugs
This commit is contained in:
parent
fd78acf698
commit
bf2b8c2625
|
@ -384,6 +384,7 @@ class WebSocketClinet:
|
||||||
if audio_dict['is_end']:
|
if audio_dict['is_end']:
|
||||||
self.listening_event.clear()
|
self.listening_event.clear()
|
||||||
self.speaking_event.set()
|
self.speaking_event.set()
|
||||||
|
print(f"{datetime.now()}: Audio data send finished, switch to speaking mode.")
|
||||||
|
|
||||||
if not self.wakeup_event.is_set():
|
if not self.wakeup_event.is_set():
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue