Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows desktop devices.
2,980 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Using the Windows MediaCapture
class we can capture videos and images on the HoloLens 2. The class also offers preview capabilities (see here). However, I am not sure how to get the preview stream within Unity and then display it to the user. In the docs they suggest to connect a XML CaptureElement
to the mediaCapture
object. What's the equivalent for use in Unity/on Hololens 2? A similar question without an answer has been asked 7 years ago here