Skip to main content
Skip table of contents

Pass Parameters to your App from the new Control Panel

Describes how to pass Commands from the new Control Panel to the App and see the changes upon initialization.

If you are on trial, activate your Account today!

Find our Pricing Plans here.

Prerequisites

For this document, you need :

  1. Access to the Control Panel ;

  2. A user Account.

Instructions

Use our E3DSFeaturesTemplate Project provided below as a sample to learn how to pass Parameters/Commands from the Control Panel to your App and then see the changes every time you run it.

Apply the same Concept to your App.

Step 1. Prepare the setup

1. Download our E3DSFeaturesTemplate Project on your Computer

Download our E3DSFeaturestemplate UE Project, refer to this Link to find it.

2. Upload the E3DSFeaturesTemplate UE App on your Control Panel

3. Select E3DSFeaturesTemplate App

image-20240330-142926 (1).png

Image 1. Select the App

Click ‘Create New Stream Link’.

image-20240330-143213.png

Image 2. Click Create New Stream Link

More details on how to generate Streaming Links are here.

5. Create a new Config

In this example we will name the Config ‘CmdLineDemo’.

  1. In the ‘Config Name’ dropdown, click 'Add New Config'.

image-20240330-143442.png

Image 3. Click Add New Config

  1. Type ‘CmdLineDemo’ in the text field and click Add

image-20240330-143817.png

Image 4. Type ‘CmdLineDemo’. Click Add

Your Control Panel should now have the E3DSFeaturesTemplate App and a new Config for testing.

More information on how to create a Config are here and on how to Edit the Config, here.

Step 2. Send Commands to your App from the Control Panel

1. In your generated Streaming Link, go to :

 2. Enable Parameters to Pass to App

image-20240330-064424.png

Image 5. Enable Parameters to Pass to App

3. Add ‘-green’ in the text box and Click Save

DO NOT add the local Pixel Streaming commands in this parameters field.

Such as: -PixelStreamingIP=localhost -PixelStreamingPort=8888 they are added Automatically by our system.

 

image-20240330-064756.png

Image 6. Add -green in the text field. Click Save

4. Open E3DSFeaturesTemplate

In the Streaming Link, click Play App.

image-20240330-145218.png

Image 7. Click Play App

5. Run to the 12th booth

UE4 has received your Command on runtime and has changed the sphere’s color to green.

 

Image 8. Sphere Сolor changed to green

Up until here you have learned how to Pass commands/Parameters to your App from the Control Panel and how to see the changes in the App upon initialization.

To pass more parameters, follow the steps below :

1. Go back to Parameters to Pass to App

Go back to : Streaming Link > Edit Config > Advanced Options > Developer > Parameters to Pass to App

2. Enter ‘-blue -pink -white' in the text field and click save

image-20240330-064958.png

Image 9. Add ‘-blue -pink -white’ to the text field

3. Open the E3DSFeaturesTemplate App and run to the 12th bay

Run the game to see the changes made after inputting the commands from the Control Panel.

UE has received the commands during runtime and has changed the colors.

The sphere color changed to blue. The cone to pink and the cube to white.

 

Image 10. The sphere, cone and cube’s colors changed to blue, pink and white

4. Go back to Parameters to Pass to App text field

5. Enter ‘-blue -red -green’ and click save

 

image-20240330-065212.png

Image 11. Add ‘-blue -red -green’ into Parameters to Pass to App text field

6. Open the E3DSFeaturesTemplate App and run to the 12th bay

Run the game to see the changes of colors.

UE has received your commands during runtime.

The color of the sphere changed to blue, the cone changed to green and the cube to red.

 

Image 12. the sphere, cone and cube’s colors changed to blue, green and red

Pro-tip:

Check the UE Blueprints in our sample project to see how these commands are being received by UE.

See how to Pass Parameters from the Old Control Panel. Check this document.


Was this article helpful? Comment Below. Let us know your feedback. 

Need help? Contact Support

If you still need help, contact support to get your issue resolved quickly.

Submit a new request at E3DS support portal or send an Email at support@eagle3dstreaming.com.

Seek advice. Connect with others. Share your experiences. Join our lively E3DS Community Forum today.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.