Hi,
I am testing Smart Client Overlay on Event Plugin Sample. When I send an Analytics Event event information is displayed as text for all cameras. Everything works well without errors. However, when I Send User-Defined Event the Text overlay is not displayed.
What I do wrong?
I found a bug in the sample. The type of the events used by NewEventIndication has been changed. See this knowledge base article. (https://force.milestonesys.com/support/articles/en_US/How_To/Environment-Instance-RegisterReceiver-method-differences-depending-on-XProtect-version)
To fix the sample, change OverlayOnEventBackgroundPlugin, line 154 so that it uses BaseEvent instead of EventData
BaseEvent evData = message.Data as BaseEvent; // was changed from EventData;