Milestone Version : 2019R2 (version 13.2a) , Corporate , Federated mode
MIPSDK using : MIPSDK 2021R1
Our Video App (running as Windows service) unable to get the new events notification NewEventMessageHandler and NewAlarmMessageHandler event MessageCommunicationManager registered.
Our Video App (running as Windows service) earlier using MIPSDK 2019R2 was working fine for message notification (to get new analytics events like LPR) from Milestone. In producation all working ok.
Now Our Video App using MIPSDK 2021R1 unable to get the any new analytics events / alarms form Milestone event registration done properly.
No idea why help to suggest and resolve asap.
As per sample code i have done the message registration properly. (as below)
VideoOS.Platform.SDK.Environment.Initialize();
MessageCommunicationManager.Start(EnvironmentManager.Instance.MasterSite.ServerId);
MessageCommunication \_messageCommunication = MessageCommunicationManager.Get(EnvironmentManager.Instance.MasterSite.ServerId);
object \_obj3 = null;
if (\_obj3 == null)
{
\_obj3 = \_messageCommunication.RegisterCommunicationFilter(NewEventMessageHandler, new VideoOS.Platform.Messaging.CommunicationIdFilter(VideoOS.Platform.Messaging.MessageId.Server.NewEventsIndication), null, EndPointType.Server);
}
Note: The above code when i write sample test app receive notification in NewEventMessageHandler, however in my video app (running as service) not able to get any notification. I tried and checked all way no chance. Please help to suggest ways to troubleshoot and resolve.
Waiting for reply.
I seen this related issue at thread
I am waiting for suggestions to resolve this issue.