XPMobileSDK connect multiple Mobile Servers

Is it possible to connect multiple Mobile Servers with 1 XPMobileSDK application? and retrieve the live and playback of different cameras at the same time?

Hi @Securex Support (Securex Solution Limited)​ ,

I address the two questions separately:

1. You did not specify your technology stack, so I’ll assume it’s .NET. One Connection object (VideoOS.Mobile.SDK.Portable.Server.Base.Connection.Connection) represents a connection to a single Mobile server. In your application you can have multiple such objects, each one connected to a different Mobile server.

2. It’s totally possible to retrieve live and playback of multiple cameras at the same time. That’s what XProtect Web client do, and XProtect Mobile clients too. You don’t need multiple Mobile servers for that.

Br,

Nikolay

I’m using a web page with Javascript, and if the page needs to simultaneously connect to multiple different mobile server to retrieve camera data, will there be any conflicts? Each mobile server corresponds to different Management server

It’s an important clarification that you are using Javascript.

Unlike .NET, Web SDK does not allow for simultaneous connections to multiple servers.

Reasons are explained in this forum topic.

Br,

Nikolay

Hi Nikolay,

Is it possible to show different cameras that from different management servers in 1 page use javascript?

No, that’s not how the SDK was designed to be used.

Hi Nikolay,

There are 6 sites (different management server and domain), if add an extra server for Milestone interconnect and Mobile server function, the 6 sites join this Interconnect, and Javascript connect the Mobile Service of Interconnect server, is it possible to retrieve all 6 sites cameras simultaneous?

Hi,

Yes - both Milestone Interconnect™ and Milestone Federated Architecture™ are supported by Mobile Server. It should be possible to retrieve video from various sites.