update_camera_list
Connection type:
- Update vidoo camera list on vhub
NOTE: To update camera parameters, the whole camera list must be sent with updated parameters
NOTE: Empty list will delete all cameras
Edit
Field | Type | Required | Description |
---|---|---|---|
cameras | JsonArray | + | Camera list to be set |
cameras.camera_id | string | + | Camera unique id |
cameras.camera_subcategory | enum | + | Camera subcategory: , , |
cameras.camera_name | string | + | Camera name |
cameras.rtsp_url | string | + | External RTSP stream to be processed by camera addon |
Edit
Edit
{
"id": "id",
"method": "update_camera_list",
"params": {
"cameras": [
{
"camera_id": "camera1",
"camera_subcategory": "doorbell_cam",
"camera_name": "cameraName1",
"rtsp_url": "rtsp://<ip>:<port>/stream-id"
},
{
"camera_id": "camera2",
"camera_subcategory": "outdoor_cam",
"camera_name": "cameraName2",
"rtsp_url": "rtsp://<ip>:<port>/stream-id"
}
]
}
}
Edit