Connecting multi-sensor cameras
The process of connecting a multi-sensor camera is the same as for regular cameras, but if you want to stream and record simultaneously from all sensors, there should be several camera instances created on the cloud side. There are two steps:
Add the same camera several times.
Create several duplicates of the camera using the Direct Onvif option the same way as usual, using the same IP, ports and camera credentials. Number of duplicates = number of lenses (sensors)
Change streaming profiles on the cameras to make them stream from different lenses.
Request the list of profiles from the camera using GET/cameras/{CAMID}/media_streams/, for example:
curl -X GET "https://web.vxgdemo.vxgdemo.cloud-vms.com/api/v2/cameras/6780/media_streams/" -H "accept: application/json" -H "Authorization: LKey co.5cf95254ffdca9647e13"
Set the "live_ms_id" and "rec_ms_id" (live and recording media streams) to the profile streaming from another lens using PUT/cameras/{CAMID}/media_streams/, for example:
curl -X PUT "https://web.vxgdemo.vxgdemo.cloud-vms.com/api/v2/cameras/6780/media_streams/" -H "accept: application/json" -H "Authorization: LKey co.5cf95254ffdca9647e13" -H "Content-Type: application/json" -d "{ \"live_ms_id\": \"profile-2-h264\", \"rec_ms_id\": \"profile-2-h264\"}"
Repeat step 2 for other camera instances switching them to streaming profiles corresponding to other lenses.