Screen recording on Hololens2 stops when camera in unity app is opened

20211803 0 Reputation points
2023-09-23T20:12:18.7+00:00

Screen recording on Hololens2 stops when camera to scan obhects in unity application is opened

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
400 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft Vendor
    2023-09-25T09:47:07.2+00:00

    Hello, Welcome to Microsoft Q&A,

    This is by design, and the built-in MRC will stop when your application requests ExclusiveControl access to the P/V camera. Please refer to Mixed reality capture (DirectX) - Mixed Reality | Microsoft Learn

    If an app requests ExclusiveControl access to the photo/video camera, built-in MRC will automatically stop using the photo/video camera so the app's request will succeed.

    However, you can try to implement the custom video capture function with SharedMode as SharedReadOnly through the MediaCapture API. Regarding the MediaCapture API, please refer to Basic photo, video, and audio capture with MediaCapture - UWP applications | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.