Pagsasanay
Module
Create a Holographic Remoting app to visualize 3D content on HoloLens 2 - Training
This course explores the use of PC holographic remoting by integrating to a HoloLens 2 application.
Hindi na suportado ang browser na ito.
Mag-upgrade sa Microsoft Edge para samantalahin ang mga pinakabagong tampok, update sa seguridad, at teknikal na suporta.
"Streaming" is sometimes referred to as "Holographic Remoting." To learn more, see Holographic Remoting Overview
Streaming from a PC to HoloLens provides two major advantages:
To get started, you'll need to download the Holographic Remoting Player to your HoloLens device. The Holographic Remoting Player lets your app to stream directly to the remoting player on your HoloLens from the following sources:
When streaming, you have access to almost all of the same HoloLens capabilities as you would when running an application on a device. This includes hand joint tracking if you're on a HoloLens 2, spatial mapping, and spatial anchors, but leaves out the features on this list.
Note
Hand meshes, the HoloLens camera, and the system keyboard are unavailable over streaming. Note that speech input for streamed apps can be acquired via the microphone of the PC you are streaming from.
Unreal 4.26 running on OpenXR supports streaming to versions 2.4.0+ of the Holographic Remoting Player. For the latest feature support with Holographic Remoting see the version history and the troubleshooting pages.
Source | HoloLens first Gen | HoloLens 2 | Immersive Headsets |
Unreal editor | ✔️ | ✔️ | ✔️ |
Windows package | ❌ | ✔️ | ✔️ |
Note
Starting with Holographic Remoting version 2.2.0 streaming is also available for Windows PCs running Windows Mixed Reality.
As a developer, you'll find that streaming from the Unreal editor to your HoloLens device provides significant benefits when testing, namely that you no longer have to wait for your app to build and deploy before trying out your updates.
You can find detailed instructions for streaming from the Unreal editor in our tutorial series.
In Unreal 4.25.1 and onwards, you can stream your app to a HoloLens 2 device from a packaged Windows executable:
Go to File > Package Project > Windows in the editor menu.
Once the package has finished building, open the Holographic Remoting Player on your HoloLens 2 and make note of the IP Address.
Leave the Holographic Remoting Player open and use the command line prompt to:
<App Name>.exe -vr -HoloLensRemoting=<IP Address>
Note
The application name in your project settings should be automatically used to create the Windows package. If these are different for some reason, use the Windows executable name in the command prompt.
Note
If eye tracking isn't working when streaming from a packaged executable, either disable any other plugins with PC-supported eye trackers (example: Magic Leap) or run the application from the command line with the relevant eye tracking argument (see command line options).
Hit enter and watch your application start streaming!
Additional command line options for streaming from each platform in Unreal Engine 4.26+ can be found in the table below.
Option | Description |
---|---|
-HoloLensRemoting=<IP address:port> |
Takes the IP address (and optional port) of the HoloLens 2 device to connect to. If no port is provided, default to 8265. |
-RemotingBitrate=<bitrate> |
(optional) Default 8000. Max network transfer rate (kb/s). |
-HoloLensRemotingListen |
(optional) Start a listen server |
-HoloLensRemotingListenPort=<port> |
(optional) Takes the port to listen on. Used for connecting to a PC or VM from a HoloLens device. |
-HoloLens1Remoting=<IP address> |
(deprecated in 4.26) Takes the IP address of the HoloLens 1 device to connect to |
-eyetracking=WindowsMixedRealityEyeTracker |
(optional) Use the Windows Mixed Reality eye tracker |
Pagsasanay
Module
Create a Holographic Remoting app to visualize 3D content on HoloLens 2 - Training
This course explores the use of PC holographic remoting by integrating to a HoloLens 2 application.