|
@@ -108,8 +108,6 @@ class MyAudioMediaPort(pj.AudioMediaPort):
|
|
self.call.reset_wait_time()
|
|
self.call.reset_wait_time()
|
|
# self.call.txtLock = False
|
|
# self.call.txtLock = False
|
|
self.call.send_bot_speaker(self.call.cur_player_file)
|
|
self.call.send_bot_speaker(self.call.cur_player_file)
|
|
- #播放完毕执行的动作
|
|
|
|
- self.call.say_end_action(self.call.action)
|
|
|
|
except:
|
|
except:
|
|
pass
|
|
pass
|
|
|
|
|
|
@@ -338,6 +336,8 @@ class MyCall(pj.Call):
|
|
print('player complete')
|
|
print('player complete')
|
|
self.player_complete_dict[player_id] = True
|
|
self.player_complete_dict[player_id] = True
|
|
self.inputLongStart = time.time()
|
|
self.inputLongStart = time.time()
|
|
|
|
+ #播放完毕执行的动作
|
|
|
|
+ self.say_end_action(self.action)
|
|
|
|
|
|
def bot_say_hello(self):
|
|
def bot_say_hello(self):
|
|
# print('bot_say_hello, come in ')
|
|
# print('bot_say_hello, come in ')
|