shanghui 2 months ago
parent
commit
493cfe1ffe
1 changed files with 1 additions and 1 deletions
  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(