When the packaging process is finished, go to the folder that you selected in step 6 above. The Unreal Editor begins the packaging process.
From the main menu in the Unreal Editor, choose Files > Package Project > Windows (64-bit).īrowse to the folder on your computer where you want the Unreal Editor to place the packaged version of your Project, and click Select Folder. Under the Level Editor > Play category, find the Additional Launch Parameters setting, and set its value to -AudioMixer -PixelStreamingIP=localhost -PixelStreamingPort=8888. This is optional, and not required for all Projects. However, for Projects like the Third-Person Template, this makes sure that users with touch devices can control the streamed application (as long as the Project's Player Controller supports touch input).įrom the main menu, choose Edit > Editor Preferences. Under the Engine > Input category, find and enable the Always Show Touch Interface setting.
If your Project involves a character, and you want to enable input from touch devices such as phones and tablets to move that character around the Level, you may want to show the on-screen touch controllers. Under the Graphics category, find the Pixel Streaming Plugin and check its Enabled box.Ĭlick Restart Now to restart your Project and apply the change.īack in the Unreal Editor, choose Edit > Project Settings from the main menu.
In order for the Pixel Streaming Plugin to extract and stream audio from your application, you need to start the Unreal Engine with a special command-line flag: -AudioMixer. The procedure below shows how to set this up for both scenarios.įrom the main menu in the Unreal Editor, select Edit > Plugins. The Pixel Streaming Plugin only works when you run your Project as a packaged application, or when you launch it from the Unreal Editor using the Standalone Game option. In this step, you will create a standalone executable file for your Project. See the Pixel Streaming Reference page for details on how to configure your signalling server with peerConnectionOptions that specify a STUN/TURN server.ġ - Prepare Your Unreal Engine Application If you are trying to connect from a machine on a different network, you'll likely need to configure your signalling server to use a STUN/TURN server. You can get this by running the ipconfig command from a command prompt or console window, and finding the line that starts with IPv4 Address. It's a good idea to get started with Pixel Streaming within a LAN or VPN, which means that you'll need the internal IP address of your computer. IP addresses - You'll need to know the IP address of your computer. Stop other web servers - If your computer is running any other Web servers, stop them for now. If you need to change these defaults, see the Pixel Streaming Reference. Open network ports - Make sure you have the following network ports open for communication on your local network: 80, 8888.
Install node.js - If you don't already have node.js installed on your computer, you'll need to download and install it. For details, see the Pixel Streaming Reference.
PrerequisitesĬheck your OS and hardware - The Pixel Streaming Plugin can only encode video on computers running Windows operating systems, with certain specific types of GPU hardware. However, the same steps should work for any Unreal Engine Project. The images for the steps on this page illustrate the procedure using a Project built from the Third-Person Blueprint template.