Network congestion reduction

I’m working on a TCP/SOAP interface which consumes a JPEG stream from an image server. It works fine, but I get a heavy load of data (full images at full resolution at full frame rate).

I tried to use 25 at live methodcall, which would fit perfectly my requirements, but the images kept returning the same resolution and size from the original ones.

Since it didn’t work to reduce the stream size, I tried to reduce frame rate with , which is not quite comfortable for the user, and also the resolution with on live methodcall and on connect methodcall. It worked as expected, but upscaling back these reduced images does not have the same quality perception of a corresponding tuning.

One extra observation: although I had set to no, the images I eventually requested which were occasionally larger than the native camera resolution were returned in the resolution I requested, suggesting that my was ignored, so I had to filter these requests in order to not to increase even more the network congestion.

Any suggestions on how to handle this situation?

It is not recommended to ask the Image Server protocol for transcoded JPEGs, it can potentially overload the Recording Server and cause it to malfunction.

Please consider instead to use the Mobile Server, the Mobile Server has been optimized for this usage and can easier be scaled.

https://doc.developer.milestonesys.com/mipsdkmobile/

That’s clear, and these distributed servers do not seem to be working on the edge, resuming most of the congestion problem to our local station.

Most of this situation would be solved if we could arrange to work as expected.

Please show us the Connect request and the Live request. We will try to see if we find something wrong in the requests.

The methodcalls and the associated methodresponse taken from the operation log are:

<?xml version="1.0" encoding="UTF-8"?>

2

connect

yes

640

360

yes

yes

id=18007bcb-7ec5-4668-ab6b-1aef6ef2f4c7&connectiontoken=TOKEN#4a69a121-ebd2-4a40-b9b5-0142b80f4c19#serv-geo//ServerConnector#

18007bcb-7ec5-4668-ab6b-1aef6ef2f4c7

<?xml version="1.0" encoding="UTF-8"?>

2

connect

yes

Success

no

no

no

yes

yes

640

360

yes

no

no

0

no

no

yes

yes

1

<?xml version="1.0" encoding="UTF-8"?>

3

live

25

640

360

The compression rate in this XML flow sample is 25, but you can change it to any other value and the image quality is kept on the same level, not reducing the stream size.

We will do some investigations at Milestone and get back with to you..