Delay on receiving events

We have an application that is listening for events with ServerManager.RegisterCommunicationFilter() and then does some processing on selected events. In general, this is working well.

However, when we deploy this application in the field on a system with ~400 cameras, we notice a large delay (between 5 and 15 seconds) between when we receive an event and when the event actually happened (the timestamp in the event header).

We are running on a seperate server from the management server in this case. Is this kind of delay expected, and/or is there anything we can do to reduce the delay, as we need our processing to be more real-time than we can provide if we don’t know the event has happened for many seconds.

I’m not sure why the delay exists, we would not expect such a delay.

We have developed a websocket event solution, which is available from version 23.3. Would it be possible for you to use this as it contains multiple improvements?

Sample demonstrating how to use the websocket solution can be found here:

https://github.com/milestonesys/mipsdk-samples-component/tree/main/EventAndStateViewer

Yes, the clients are running a late enough version that I’m the websocket solution is a possibility. We were hoping to avoid the development effort for that, but will if it’s the way forward. Will return with updates when I can