We are in the process of developing a third-party client to manage the CCTV system and have encountered a question regarding the login behavior. We are currently using the approach outlined in the cameraStreamResolution example, where we initialize the environment and add the management server using the VideoOS.Platform.SDK.Environment.AddServer utilizing the Network Credential Cache function and BuildCredentialCache (rather than the MIP Token). We then log in using an Active Directory (AD) user.
This approach is functioning as expected, and we can successfully log into the management server. However, we recently conducted a test where we stopped the management server and attempted to log into the VMS. Surprisingly, we were still able to log into the management server, even though it was down.
I am aware that this might be planned behavior, but I would like to better understand how the login process works under these circumstances. Could you please provide more details on why the login is still successful even when the management server is offline?
Also we want to know how to detect when this server falls. In the moment we are following a polling approach with the ProvideCurrentStatusResponse of a MessageCommunication object, but the status doesn’t come back and it doesn’t enter in the exception.
Thank you in advance for your assistance.