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.

How to live stream video from hololens to pc?

Hello,
I am trying to stream live video including holograms to a UWP App which runs on a PC. I do not want to use the REST API which is supported by the hololens natively since it has a 2 seconds delay. (I would use it for testing anyways, but I cant figure out how to receive the stream via http://172.22.111.82/api/holographic/stream/live_high.mp4?holo=true&pv=true&mic=false&loopback?holo=true&pv=true&mic=false&loopback=true , MediaElement.Source does not work for me)

Is there an efficient way for my problem. I am using Unity for my holographic app.

Thank you very much in advance

Best Answer

Answers

  • james_ashleyjames_ashley ✭✭✭✭

    The best thing is to switch to a UWP app if you can. To get over the delay, you can use the low latency MRC. I was never able to get this working in a WPF app, either.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • @james_ashley said:
    The best thing is to switch to a UWP app if you can. To get over the delay, you can use the low latency MRC. I was never able to get this working in a WPF app, either.

    You mean use uwp/directx rather than unity?

  • @james_ashley said:
    Nope. sorry. I misread your question the first time somehow. Do-over.

    Try this sample code: https://github.com/Microsoft/HoloLensCompanionKit/tree/master/MixedRemoteViewCompositor/Samples/LowLatencyMRC

    It requires adding an extra component to your hololens app, but the performance is really good.

    If you need to stream apps you don't own, though, I don't think there is a way around using the REST APIs.

    Thank you very much. I think this is exactly what I need. But I cant find the Build directory in the repository, mentioned in the guide. There should be a build directory containing the file MixedRemoteViewCompositor.unitypackage
    How do I generate this?

  • james_ashleyjames_ashley ✭✭✭✭

    Look inside the sample unity project, TestScene. They may have moved things around but you should be able to find it in there.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • the binary files are no longer included. WSA project wont load with vs2017. Installed vs2015 and it says the project is incompatible with this version of visual studio.
    Are there any up-to-date instructions on VS version/building this?

  • Try to get it from here: https://isgb.otago.ac.nz/infosci/jack.wynne/Scott/tree/master

    Unfortunately I didn't get it to work as well.

  • LowLatencyMRC includes a Readme with invalid instructions, referring to a .UnityProject file that does not exist. Any revision to the 'Accepted Answer' would be appreciated.

  • Has anyone found a way to install/start the LowLatencyMRC sample ?

Sign In or Register to comment.