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.
Access to another hololens's camera video stream from unity
Hi,
I'm building an app in which I would like to connect to another hololens's camera video stream and display it on a texture.
I've found the following url that can be colled from VLC:
http://
Depending on the machine it shows a certificate. After accepting or installing this as trusted, it ask for the login username/password. After this I can see the stream in VLC.
Now I would like to get this stream in Unity3D. I've tried various methods using WWW, HttpWebRequest, etc., but I keep running into different problems with each approach.
Does someone else know how I can get this to work?
Thanks
Roy
Best Answer
-
Patrick mod
It depends on how you want to go about this. The easiest way would be to hard code the IP address of your unity editor, create a network connection, and stream the bitstreams. The pattern for doing it this way is in the spatial mapping scripts in the HoloToolkit. In those scripts we send mesh data, but you could send the texture data instead. The important bit is that you use a different API in the Unity editor than you use for a UWP app like HoloLens.
So in HoloToolkit look at SpatialMapping\Scripts\RemoteMapping.
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.(Daddy, what does 'now formatting drive C:' mean?)
5
Answers
It depends on how you want to go about this. The easiest way would be to hard code the IP address of your unity editor, create a network connection, and stream the bitstreams. The pattern for doing it this way is in the spatial mapping scripts in the HoloToolkit. In those scripts we send mesh data, but you could send the texture data instead. The important bit is that you use a different API in the Unity editor than you use for a UWP app like HoloLens.
So in HoloToolkit look at SpatialMapping\Scripts\RemoteMapping.
===
This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.
(Daddy, what does 'now formatting drive C:' mean?)
Thanks, I've got it working
@royarents I am doing a similar thing for one of my school projects. Could you please share some insight, like how did you go about doing it?
What is the thing I should do first? Is there a code sample that does that, on which I can build on. I am suing Unity.