Hi,
I am trying to log in to a Milestone Federated site using the VideoViewer component sample. I am logging in with a Windows AD user. The login is successful and there are no errors, but I am not able to see any cameras in the VideoViewer. It appears empty.
When I log in using the Smart Client with the same AD user, I am able to see all the cameras without any issue.
Could you please advise if any additional configuration or steps are required to access cameras from a federated site using the SDK?
Thank you.
You have to set this property on the DialogLoginForm to false..
| bool |
MasterOnly = true[get, set] |
|
If set to true the dialog will only log in to the site specified in the URI field. If set to false it will also log in to any MFA subsites. Default is true. |
Ref. MIP SDK Documentation
Hi Bo,
Thank you for your response.
I would like some additional clarification regarding Milestone Federated Architecture:
-
Regarding authentication, is it recommended to use only Windows AD users in a federated setup, or is it also supported to use basic users for login?
-
I am implementing discovery after logging in to a federated site and need to retrieve all cameras from both the master and child sites. Is the SDK discovery implementation different compared to a direct (non-federated) site?
-
Do we need to log in separately to each child site, or is logging in to the master site (with MasterOnly set to false) sufficient to access all federated cameras?
-
If there is a difference in the implementation, could you please suggest which MIP SDK component sample I can refer to for this discovery scenario?
Thank you.
No, only WIndows AD users can be used. Has to do with the basic design of Milestone Federated Architecture (MFA), not a limitation imposed by the MIP SDK. (A basic user on multiple sites will technically be multiple users, by using AD you can ensure it is the same users across the sites.)
No, the Configuration is a tree structure, only has more nodes when it comes to MFA.
MasterOnly set to false is sufficient.
Usually, the Multi-site viewer sample is the reference sample on having multiple sites, MFA or otherwise.
Talking about discovery, how the Configuration looks, I would like to recommend then Configuration Access sample but please note that it has the same limitation as the Video Viewer sample. Please set MasterOnly to false to use it in a MFA setting.
PS. I recommend that you set up a mini MFA in your test environment.
Hi Bo,
Thanks for the clarification.