Apr 01 2021 01:12 AM
Apr 01 2021 01:12 AM
I'm a software developer and our customer has bought hundreds of HoloLens 2 devices. Now our goal is to develop kind of Zoom Meetings within private corporate network using HoloLens2 camera and microphone. I have seen that "Microsoft Dynamics 365 Remote Assist" says it can do the same thing so I believe this is technically possible. Now I do have few problems:
1) Since I do not have HoloLens 2 device yet I'm trying to install "Microsoft Dynamics 365 Remote Assist" app on the emulator. The problem is that it can't access the camera and stuck.
This gray window does not dissappear even though I allowed access to the camera. I can't close it or escape from it.
2) When I turn off and on again the emulator it starts from scratch. No account settings or installed apps are available and I have to login to microsoft account and install them again.
3) Looks like HoloLens 2 camera is present in a system in some special way because noone regular camera UWP application can see the camera. If so then what should I read understand how to access HoloLens 2 camera from the UWP app?
Apr 01 2021 12:25 PM
The emulator has some interesting behavior with regards to restarting, since it's more of a dev tool than anything else. Every time it shuts down and starts back up, it's basically a fresh OS. However, if you go to the Account Settings, you can tell it to log into a specific user on startup. That'll save you a bit of time, but you'll still need to install apps! If you're using it for long stretches of time, it can be good to get in the habit of minimizing it instead of closing it.
I'm not sure about camera behavior in the emulator though, I don't know what I'd even expect to see if it did work! However, if your app works with the camera in a regular UWP app, you're probably good to go. I've done a bunch of camera code for HoloLens in regular flat UWP applications with the Window.Media.Capture API, and it's pretty good about working wherever! I don't have any good samples for the API off the top of my head, but that's probably what I'd use.
For meeting based software, I'd also encourage you to learn a bit about Microsoft Mesh, and there's also a tool called MixedReality-WebRTC that could be helpful to you if you're doing it from scratch :)