Can SharingService.exe Support multiple apps running at once
Sorry if this is the wrong place to ask this.
Can the sharingservice.exe support multiple sharing apps running at once? I have two apps hitting the same service the first connects and shares the second one closes once it creates a session on the sharing service. Both run independently.
Thanks for the help.
I've just started looking into this. I experience exactly the same issue, a second session is created but the client that tries to join crashes. Interestingly I get a slightly different result when running in Unity and on a HoloLens device, the latter proceeds to leave the session for some reason and then crashes on an assert: SharingService [....\Source\Common\Private\Environment.cpp (19)]: Assert (....\Source\Common\Private\SessionImpl.cpp:147) GetMachineSessionState() == MachineSessionState::DISCONNECTED (Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)
The source file is here, I would suspect that the issue is with SessionImpl::Join that starts on line 58: https://github.com/Microsoft/MixedRealityToolkit/blob/master/Sharing/Src/Source/Common/Private/SessionImpl.cpp
Ok, so in my case, this was due to my Azure host firewall rules not allowing access to new sessions when they reached below port 26000. I can have multiple separate sessions running now on the same server.