How to get images (via image server) for large amount of cameras?

Hi,

We have about 2,000 cameras connected to Milestone and we want to get one image from each camera, every several minutes (using the image server)

What is the best way to do that?

We tried to do that without holding 2000 open TCP connections by:

1.initializing the TCP connection to Milestone image server and than for each camera send the following requests (with a valid token):

  1. connect:
<?xml version="1.0" encoding="utf-8"?>\[int\]"connectdummydummy\[camera\_guid\]yesid=\[camera\_guid\]&connectiontoken=\[token\]no

2.end:

<?xml version="1.0" encoding="UTF-8"?>\[int\]end75

But we received wrong response when performing one by one connect request to different cameras.

So what is the best way to get images from large amount of cameras?

The Image Server API only supports one camera på session, so you will have to open a new connection for each camera.

An alternative could be to user the Recorder Command Service, which has a couple of methods for getting a JPEG for a specific camera: https://doc.developer.milestonesys.com/html/index.html?base=recordersoaphelp/class_recorder_command_service.html&tree=tree_3.html