|
@@ -118,7 +118,8 @@ class MyAudioMediaPort(pj.AudioMediaPort):
|
|
|
self.call.cur_player_file, self.call.wait_time, self.call.inputType,self.call.action, self.call.node_id = self.get_player_file()
|
|
|
# 重置播放完成标志和超时计时器,确保新的播放从头开始计时
|
|
|
self.call.reset_wait_time()
|
|
|
- self.call.send_bot_speaker(self.call.cur_player_file)
|
|
|
+ threading.Thread(target=self.call.send_bot_speaker, args=(self.call.cur_player_file,)).start()
|
|
|
+ # self.call.send_bot_speaker(self.call.cur_player_file)
|
|
|
except:
|
|
|
pass
|
|
|
|