@@ -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(