Filter out events from same device on different recording servers

Hi,

If for example you have a device, added on 2 recording servers, it takes only one license since it is the same mac address.

If this device triggers an event, I only want one new event instead of two.

I suppose it should be possible to check every new event/alarm but what is the best way to filter out the second alarm?

Should it be something like registering to newevent message, do some checks and delete duplicate ones?

EnvironmentManager.Instance.RegisterReceiver(NewEventHandler,new MessageIdFilter(
												
VideoOS.Platform.Messaging.MessageId.Server.NewEventIndication));

The same camera added to two recording servers will act as two cameras. XProtect will never compare and realize that this is the same camera (the exception being when calculating license use).

@Rie Kiuchi (Milestone Systems)​ I know, this is why I want to create a plugin for the event server that does the compare for every event concerning cameras and other devices.

How should I start with this?

PS: I know it is possible…

Unfortunately, there is no safe ways to compare these two events. For example, you might want to compare the event’s timestamps but these two might have different timestamp because the device is individually polled by the Recording Servers.

Also it is not possible to delete events, unfortunately.

I found this plugin on Marketplace:

https://www.milestonesys.com/marketplace/vega-systems-inc/redundancy-management-framework/

I suppose this plugin does something like you said…

Thank you for sharing the URL. I checked the video on the page, it seems fit for this (at the 1st scenario) as you mentioned. You will be able to use an integration.