{
"curVideoSourceType": "string",
"cmosConfig": {
"curIndex": 0
},
"ipConfig": {
"enable": true,
"connectType": 0,
"ipConnectList": [
{
"enable": true,
"status": 0,
"intervalTime": 0,
"netProtocol": "string",
"onvifInfo": {
"ipConfigName": "string",
"ipDevName": "string",
"ipDevId": "string",
"addr": "string",
"port": 0,
"userName": "string",
"password": "string",
"remoteChannelList": [
0
],
"remoteChannelIndex": 0,
"transportProtocolList": [
0
],
"transportProtocol": 0,
"transStreamModeList": [
0
],
"transStreamModeForLocalMainStream": 0,
"transStreamModeForLocalSubStream": 0
}
}
]
}
}
curl --location --request PUT 'https://192.168.88.11:9781/bvcsp/v1/pu/video/in//' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"curVideoSourceType": "string",
"cmosConfig": {
"curIndex": 0
},
"ipConfig": {
"enable": true,
"connectType": 0,
"ipConnectList": [
{
"enable": true,
"status": 0,
"intervalTime": 0,
"netProtocol": "string",
"onvifInfo": {
"ipConfigName": "string",
"ipDevName": "string",
"ipDevId": "string",
"addr": "string",
"port": 0,
"userName": "string",
"password": "string",
"remoteChannelList": [
0
],
"remoteChannelIndex": 0,
"transportProtocolList": [
0
],
"transportProtocol": 0,
"transStreamModeList": [
0
],
"transStreamModeForLocalMainStream": 0,
"transStreamModeForLocalSubStream": 0
}
}
]
}
}'
{
"code": 0,
"msg": "string"
}