but it isn’t working and no exception is being thrown
I’ve checked the XProtect logs and it seems like the PTZ message is not being received
I am initializing the environment using:
VideoOS.Platform.SDK.Environment.Initialize();
VideoOS.Platform.SDK.UI.Environment.Initialize(); // Initialize UI
VideoOS.Platform.SDK.Export.Environment.Initialize();
Uri uri = new Uri("ipAddress");
CredentialCache cc = VideoOS.Platform.Login.Util.BuildCredentialCache(uri, "username", password", "Basic");
VideoOS.Platform.SDK.Environment.AddServer(uri, cc);
on startup. Is there any reason a message would fail to send?
How about Smart Client? Can you move the same camera from the Smart Client testing with the same user?
If not, it could be a general issue. (maybe connection issue or something) In that case, please ask again in the support community, you should get better help from the partners using the support community. https://supportcommunity.milestonesys.com
If you can move the camera from the Smart Client, please get back to us.
We are wondering why you checked Management Client logs, because the PTZ and Presets sample is component sample which is not related to Management Client. Are you developing an Admin plugin or component integration? Have you tried to move with the PTZ and Presets sample?
Which product and version of the XProtect VMS are you using? Which version of the MIP SDK are you using?
Component integration. I’m checking the Management client logs since I was trying to troubleshoot the problem and noticed that new entries were created when I performed a successful action within my application, is that not right?
If so, is there another location where logs for component integration are stored?
I have tried moving with the PTZ sample and it works
You mentioned that the PTZ and Presets sample worked so if the sample does not cause the same issue, please compare your code to that of the sample and debug them. I hope you will be able to figure out differences and the cause of the issue.