|
@@ -222,7 +222,8 @@ class MyCall(pj.Call):
|
|
|
self.play_complete_flag = True
|
|
|
self.play_start_time = current_time
|
|
|
# print(f"开始计时: {self.play_start_time}")
|
|
|
- elapsed_time = current_time - self.play_start_time
|
|
|
+ elapsed_time = int(current_time - self.play_start_time)
|
|
|
+ print(f"当前时间: {current_time}, 已过时间: {elapsed_time}, 最大等待时间: {wait_time}")
|
|
|
if elapsed_time >= wait_time:
|
|
|
# self.user_asr_text_queue.put("ASR408error")
|
|
|
self.chat('ASR408error')
|