shanghui 3 月之前
父節點
當前提交
493cfe1ffe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/callcenter/esl/handler/channel_hangup_handler.py

+ 1 - 1
src/core/callcenter/esl/handler/channel_hangup_handler.py

@@ -188,7 +188,7 @@ class ChannelHangupHandler(EslEventHandler):
         except Exception as e:
             self.logger.error("更新录音记录失败: call_id=%s, error=%s", call_id, str(e))
 
-    def get_audio_duration_ffmpeg(self, audio_path):
+    def get_audio_duration(self, audio_path):
         """使用 ffmpeg 计算音频时长"""
         try:
             result = subprocess.run(