提交 64da3c75 authored 作者: zw.wang's avatar zw.wang

fix: [recorder] 修复参数接收个数问题

上级 5d25a48a
......@@ -252,7 +252,8 @@ class ProcessMessage:
retry_count += 1
complete_duration = (end_time - start_time).total_seconds()
file_info, error_log = self.stream_record(playback_stream['stream_url'], start_time, end_time)
(file_info, _), error_log = self.stream_record(playback_stream['stream_url'],
start_time, end_time)
file_duration = time_to_seconds(file_info['duration'])
if not os.path.isfile(file_info['file_name']):
log.info('当前录制无文件输出:%s, 重试计数: %s', self.body['camera_code'], retry_count)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论