[event] fix bugs
This commit is contained in:
1 parent
fd78acf698
commit
bf2b8c2625
1 file changed
+1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user