I’d like to get list of available mobile server from Management Server.
I could see this information in Management Client, but couldn’t find solution in MIP SDK.
I check ConfigAccessViaSDK.csproj and ConfigAPIClient.csproj but it doesn’t include mobile server information.
The mobile servers are listed in the ServiceRegistrationService. There is an API on the mgt server retrieve this.
Thanks for your response.
I could get the server information that are listed in “Tools → Registered Services…”
I have additional 3 questions.
Q1
There are 5 Mobile Servers in the result of IServiceRegistrationService.GetServices().
They’re same as “Tools → Registered Services…” list.
But there’re 7 Mobile Servers in “Site Navigation → Servers → Mobile Servers” in Management Client left pane.
Do they refer different setting information?
Q2
There’s a “enabled” property in VideoOS.Platform.Util.Svc.ServiceInfo.
In my environment all object have “true” value.
But I couldn’t find the meaning of this property in document.
Q3
There’s a “Connection to server” status indicator in Management Client’s Mobile Server General pane.
Can we check this status via MIP SDK?
Hi Yuichi,
I’ll try answer your questions.
A1:
For every Mobile server, that had been connected to the Management server, there should be a entry shown in the management Client left plane (“Site Navigation → Servers → Mobile Servers”).
During the start-up of the Mobile server it registers as a service in the VMS . Usually during stopping the Mobile server un-registers itself.
If one mobile server is connected to one Management server, worked with it for some time and after that pointed to another one, his entry with settings stays in the Left plane (“Site Navigation → Servers → Mobile Servers”), but disappears from “Registered services”.
There is a context menu on every item under "“Site Navigation → Servers → Mobile Servers” and for those that do not have already entry in the “Registered services”, “Delete” option is available.
A2:
I’m not sure you will be able to use for the Mobile servers.
A3:
“Connection to server” is shown on all the panes (tabs) in the Mobile server settings.
This is constructed dynamically and checked once on every 30 seconds.
It checks the connection to the Mobile server real time.
How it is done: It makes simple HTTP request to the base server address.
The address could be found trough the Registered services, either in the URI field, or in the custom data (xml where both http and https addresses could be found).
Dear Peter,
Thanks for answering.
I could delete mobile server setting manually by following your instruction.
Plus I understand I could check mobile server connection by myself.
If someone else know about ‘enable property’ meaning, please let me know.