What is the maximum size allowed for sending an image via analytics event?

I’ve tried sending a single 4k rgb image decoded into base64binary format, but I recieved a “connection timed out” error from the server soket. This procedure works if I use smaller images.

There might be a limit but 4K images should not be an issue.

Can you tell more about the method of sending you are using?

Perhaps you can zip and upload the data you try to send? If you do I can reproduce and troubleshoot here.

I want to add a recommendation.

The way analytics events are normally used, is that you do not save a snapshot image. Having the camera and time of event you can always retrieve the original camera image from the recording server. It is a concern, and the experience with some early versions of the Milestone LPR is testament to this, that if you store many large images in the Event Server it will degrade in performance.

My recommendation is that you do not store big images like this if it can be avoided. In most use cases I have seen it can be avoided because the recording server holds the originally image from the time of the event.