添加摄像头和视频网关类型参数

This commit is contained in:
0000792 2022-08-05 17:51:26 +08:00
parent 8b33035749
commit 9ac24142f7
1 changed files with 62 additions and 1 deletions

View File

@ -87,10 +87,71 @@ const MINIATURE_BREAKER = [
"canModify": true
}
]
const VIDEO_MONITOR = [
{
"paramKey": "video_id",
"paramVal": "",
"paramName": "摄像头id",
"canModify": true
},
{
"paramKey": "dev_channel",
"paramVal": "",
"paramName": "设备通道",
"canModify": true
},
{
"paramKey": "video_code",
"paramVal": "",
"paramName": "视频流编码",
"canModify": true
}
]
const VIDEO_CONTROLLER = [
{
"paramKey": "site_id",
"paramVal": "",
"paramName": "站点id",
"canModify": true
},
{
"paramKey": "video_protocol",
"paramVal": "",
"paramName": "接入协议",
"canModify": true
},
{
"paramKey": "url",
"paramVal": "",
"paramName": "站点域名",
"canModify": true
},
{
"paramKey": "version",
"paramVal": "",
"paramName": "服务版本",
"canModify": true
},
{
"paramKey": "username",
"paramVal": "",
"paramName": "用户名",
"canModify": true
},
{
"paramKey": "password",
"paramVal": "",
"paramName": "密码",
"canModify": true
}
]
const resultObject = {
GATEWAY_CONTROLLER,
MINIATURE_BREAKER
MINIATURE_BREAKER,
VIDEO_MONITOR,
VIDEO_CONTROLLER
}
export const getTypeParam = (keys) => {