Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
I
ils-common-video
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
提交
议题看板
打开侧边栏
OpsTeam
ils-common-video
Commits
44edca88
提交
44edca88
authored
8月 02, 2021
作者:
zw.wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: [isc-merger] 修复isc摄像头对无法获取SD卡事件的摄像头的支持
上级
3bd7a14b
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
+2
-2
mysql.py
ils_common_video/db/mysql.py
+1
-1
merger.py
ils_common_video/isc_video/merger.py
+1
-1
没有找到文件。
ils_common_video/db/mysql.py
浏览文件 @
44edca88
...
@@ -118,7 +118,7 @@ def get_camera_info(cursor, conn, camera_code=None, platform='isc', video_plan_t
...
@@ -118,7 +118,7 @@ def get_camera_info(cursor, conn, camera_code=None, platform='isc', video_plan_t
) as 'db_table',
) as 'db_table',
ai_config_support, device_code, service_type, biz_type,
ai_config_support, device_code, service_type, biz_type,
region_path_name,
region_path_name,
1 as
video_plan_type,
video_plan_type,
network_quality,
network_quality,
is_valid, platform, treaty, model, brand, cac.video_stream_url
is_valid, platform, treaty, model, brand, cac.video_stream_url
from camera_info
from camera_info
...
...
ils_common_video/isc_video/merger.py
浏览文件 @
44edca88
...
@@ -165,7 +165,7 @@ class EventMergerJob:
...
@@ -165,7 +165,7 @@ class EventMergerJob:
camera_count
=
0
camera_count
=
0
for
camera
in
get_camera_info
():
for
camera
in
get_camera_info
():
if
not
camera
[
'ai_config_support'
]
or
len
(
camera
[
'ai_config_support'
])
<
5
:
if
not
camera
[
'ai_config_support'
]
or
len
(
camera
[
'ai_config_support'
])
<
5
or
camera
[
'video_plan_type'
]
<
1
:
continue
continue
if
camera
[
'ai_config_support'
][
0
]
==
'0'
:
if
camera
[
'ai_config_support'
][
0
]
==
'0'
:
# 只有开启了云存储的才会启动录制服务
# 只有开启了云存储的才会启动录制服务
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论