Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

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.

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, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Accessing video camera stream on device

Is it possible to access camera stream on device? Right now, we can access video-camera stream and save it to file. However, we would like to stream out data to internet.
Is that possible and how?

Answers

  • Options

    Sounds like you might be interested in mixed reality capture

  • Options

    @Joan said:
    Sounds like you might be interested in mixed reality capture

    Mixed reality capture is different than accessing the video. The former shows the holograms in the video, whereas the latter shows only the real world.

    I'm also interested in getting access to the raw video stream but specifically in Unity. Has anyone gotten this to work successfully?

    I think an option would be to use a c# wrapper for the c++ Window Media Foundation libraries that are used to access the camera in the DirectX approach. I only found http://mfnet.sourceforge.net/ for a c# approach to accessing the Media Foundation, but mfnet might be outdated. Does anyone know if this approach I'm describing is feasible? If it is, does anyone know of a good tutorial for learning how to do this?

  • Options

    Have you tried storing video with no holograms visible? The down side is that this isn't stereoscopic capture.

  • Options

    Hey guys, it would be helpful is somebody from PG could answer this question.
    Our (all developers) expectation is to be able to easy access stream, which is one of common features of any modern device, which has camera.
    If it is possible, please give us URL to an example. If not, it would be helpful to know roadmap.

  • Options

    The Locatable Camera API should give you what you need. This doc is a great starting point and has several good links at the bottom to help you out:
    https://developer.microsoft.com/en-us/windows/holographic/locatable_camera

  • Options

    Hey guys, it would be helpful is somebody from PG could answer this question.
    Our (all developers) expectation is to be able to easy access stream, which is one of common features of any modern device, which has camera.
    If it is possible, please give us URL to an example. If not, it would be helpful to know roadmap.

    Thanks in advance

  • Options

    Hey guys, it would be helpful is somebody from PG could answer this question.
    Our (all developers) expectation is to be able to easy access stream, which is one of common features of any modern device, which has camera.
    If it is possible, please give us URL to an example. If not, it would be helpful to know roadmap.

  • Options
    Jimbohalo10Jimbohalo10 ✭✭✭
    edited April 2017

    The new location and updated information for Locatable Camera and there are new Media Foundation SDK Samples using the Media Foundation Structures.

    Samples using LowLatencyMRC video using UWP sample viewing application to view live MRC video from the HoloLens can be found on GitHub in HoloLensCompanionKit Mixed Remote View Compositor

  • Options
    If you're using Unity then you might try this package. Just disable LANParty.dll.

    https://www.assetstore.unity3d.com/en/#!/content/7447
Sign In or Register to comment.