I have three PCs setup in my environment:
PC1: Where the developed program will run.
PC2: Where the Milestone VMS is installed.
PC3: Where the recorded videos are stored.
I tried running the PTZandPresets MIPSDK in PC2 I can retrieved the video stream and play it at the VideoViewerControl without any problem but when I try running it in PC1, I was able to “see” the cameras from the Item Picker as shown below:
MilestoneItemPicker
but when either one of the camera is selected,
the VideoViewerControl shows “Connection to camera failed. Retrying…”
MilestoneRetrying
Note that:
All of the PCs are locally connected;
PC1 is connecting to PC2 via Windows Remote Desktop Connection;
All firewalls are disabled;
Is it causes by the networking protocol or?
Hope to hear from you soon.
You say
PC2: Where the Milestone VMS is installed.
PC3: Where the recorded videos are stored.
I translate this into that the Management Server is on PC2 and the Recording Server is on PC3.
The way Milestone works is that you login on the Management Server and get the configuration which is the information on which devices are available and where they are eg. which recording server they are on. When you want video you contact the right recording server based on the info in the configuration, and you get video data, live or playback, from the recording server.
Long story short, your need to make sure that your client can reach and communicate with the recording server (port 7563 ao.). Please configure network and firewall accordingly.
I suspect a network setup mistake but please also verify that the camera runs etc. Please run the Smart Client in PC1 and verify that it works.