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.
streaming external video/desktop to emulator
I am looking at trying to stream a desktop to the hololens using the movietexture in Unity. I'm using VLC to stream my desktop as an ogg stream. Then in unity I am displaying that stream onto a game object (tada - works great!). Problem comes when I deploy this to the emulator. I get nothing. If I do a desktop windows build (from unity), load that up on any PC/Linux/Android (pointing the movietexture to the ip of the pc that is broadcasting the stream), no problem, works great. Still, nothing in the emulator. Using the emulator I pull up the edge browser, I have an internet connection. Any thoughts? Also, I'm not a programmer by any means, but I am one hell of a googler (sorry MS).
Best Answer
-
ahillier mod
Hi @timhsmith79,
Are you running the emulator on the same machine that is broadcasting the stream? I know we had problems with our Academy sharing course where the emulator could not connect to localhost.The work-around for that issue is to use the ipv4 for the emulator switch as the server address instead of your local ipv4 that you would have otherwise used:
You can also try running the emulator on a second machine instead.
6
Answers
Hi @timhsmith79,
Are you running the emulator on the same machine that is broadcasting the stream? I know we had problems with our Academy sharing course where the emulator could not connect to localhost.
The work-around for that issue is to use the ipv4 for the emulator switch as the server address instead of your local ipv4 that you would have otherwise used:
You can also try running the emulator on a second machine instead.
@ahillier mod - You are my new best friend! Worked like a charm. Thanks a ton!
@timhsmith79,
Awesome! I'm glad it worked for you
Update: Currently using VLC v2.1.5. I was testing with a newer version (2.2.3) and it fails to stream the desktop with the transcoding option. After about an afternoon of troubleshooting and testing, I would recommend using VLC v2.1.5 for testing this functionality with the hololens.