Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

What exactly are Sharing Service Client Roles?

Okay, so I've been abstracting the Sharing code from Holograms 240 for our needs, and understand most of what I am seeing here, but I am a little stumped on what the Client Roles are.

Instinct tells me that a Primary Client starts and terminates the service, whilst a Secondary Client can only join and leave and existing service? However, through testing across two devices, I am unsure if this is the case. So, what exactly are the differences between the two roles?

If my instinct serves me wrong, does the existing codebase have a way of having one user responsible for starting and terminating the service, whilst others can only join and leave?

When both devices quit the application whilst testing, the Sharing Service does not currently terminate, is there a command I can send it? Or do I simply call session.Dispose()? When both devices restarted the application during our testing, we found that the spatial mapping and anchors had gone wrong, and my coworkers avatar was to my left, whilst he was standing in front of me.

I apologise for the numerous questions, but if I can nail down these concepts, I can build what we need.

Answers

  • Did you get your answers? I am also trying the sharing but have only one device. I was trying to run the app and place the hologram at a specific anchor. Now if I re-boot my device and re-open the app, it starts all fresh without downloading the anchors uploaded by previous instance of the app.

Sign In or Register to comment.