Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before uploading your App on the Control Panel, you should test it with Epic’s Signaling Server first, to make sure it is ready for Pixel Streaming.

Follow the steps to test whether pixel streaming plugin enabled or not:

Step 1. Follow the path below and click on

...

get_ps_servers.

...

bat:

Your Project Folder > Samples > PixelStreaming > WebServers > get_ps_servers.bat

Let’s say your project name is “MyProject2”, then the folder structure should be:

MyProject2 > Samples > Pixel Streaming > Webservers > get_ps_servers.bat

image-20241020-062209.png

Step 2. Once you click on

...

get_ps_servers.

...

batsome file will start downloading and a terminal will be displayed like below:

Info

After downloading all required files the terminal will be automatically closed.

image-20241020-062714.png

Step 3. Click on

...

run_local.

...

bat”.

Follow the path below and click on “run_local.bat”:

Your project folder > Samples > PixelStreaming > WebServers > SignalingWebServer > platform_scripts > cmd > run_local.bat

Let’s say your project name is “MyProject2”, then the folder structure should be:

MyProject2 > Samples > PixelStreaming > WebServers > SignalingWebServer > platform_scripts > cmd > run_local.bat.

image-20241020-064434.png

Step 4. All required files

...

will be downloaded.

Once you click on “run_local.bat”, some files will be download and a terminal will be displayed like below:

Note

Don’t close the terminal for rest of the tutorial of this section

image-20241020-065036.png

Step 5.

...

Follow the path below and and create a shortcut of the exe file of your app:

Your project folder > Package > Windows

Let’s say your project name is “MyProject2”. Then find the exe file in MyProject2 > Package > Windows and make a shortcut of it.

image-20241020-070413.png

Step 6. Right click on the shortcut app and go to Properties.

image-20241020-070743.png

Step 7. In the Target field go to end of existing line and hit a space from your keyboard. Then paste the command line from below and click ok.

-log -AudioMixer -PixelStreamingIP=localhost -PixelStreamingPort=8888 -RenderOffScreen -AllowPixelStreamingCommands

Info

Let’s say in the target field existing location is "C:\Users\USER\Documents\Unreal Projects\MyProject2\Package\Windows\MyProject2.exe"

You will go the the end of the line and give a space from your keyboard and paste the above command. After pasting the target field will look like this:

"C:\Users\USER\Documents\Unreal Projects\MyProject2\Package\Windows\MyProject2.exe" -log -AudioMixer -PixelStreamingIP=localhost -PixelStreamingPort=8888 -RenderOffScreen -AllowPixelStreamingCommands

Then Click OK button.

image-20241020-071439.png

Step 8. Double click on the shortcut of the exe file to open it.

Note

Don’t close the terminal for rest of the tutorial of this section

image-20241020-071549.png

Step 9.

...

CLICK TO START Streaming.

Open your browser and type “localhost” or “127.0.0.1”. Then press CLICK TO START

...

image-20241020-071823.pngImage Addedimage-20241020-073228.pngImage Added

Step 10. Your app will run in local server.

image-20241020-073406.pngImage Addedimage-20241020-073425.pngImage Added

Warning

Your App will start only if the Pixel Streaming plugin is enabled.

If the Pixel Streaming plugin was not enabled before Packaging your project, you will see the localhost server like Figure 1113. To enable pixel streaming go to Enable Pixel Streaming Section

image-20241020-074102.png
image-20241020-073406.pngImage Removedimage-20241020-073425.pngImage Removed

...

💬 Ask questions and help your peers Community Forum

📄 Need help? Contact Support

 

Facebook | GitHub | LinkedIn | YouTube