Streaming in Unreal

"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:

  • It lets your mixed reality app take advantage of your PC's computational power.
  • It helps speed up development iteration time.

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:

  • The Unreal Engine editor
  • A packaged Windows executable

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

  • Streaming quality is highly dependent on the strength of your wifi network.
  • All capabilities are automatically enabled for the holographic remoting player. If you find a capability that requires user permission (ex: eye tracking) to be working over streaming but not when running on device, check to ensure you've enabled the proper capabilities under your project settings.

Streaming limitations

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.

OpenXR

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.

Device support

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.

Streaming from the Unreal editor

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.

Streaming from a packaged Windows executable

In Unreal 4.25.1 and onwards, you can stream your app to a HoloLens 2 device from a packaged Windows executable:

  1. Go to File > Package Project > Windows in the editor menu.

    • Choose a location to save your package and select Select Folder.
  2. Once the package has finished building, open the Holographic Remoting Player on your HoloLens 2 and make note of the IP Address.

  3. Leave the Holographic Remoting Player open and use the command line prompt to:

    • cd into the local directory where you saved your package.
    • Enter the following command: <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!

Command line options

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

See also