You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Eagle 3D Streaming Documentation Center Logo Eagle 3D Streaming Documentation Center Logo
Sign InSign Up

Eagle 3D Streaming Documentation Center

Eagle 3D Streaming Documentation Center Navigation

  • Home
  • Explore Us
  • Login
  • Support

Mobile menu

Close
Ask a Question
  • Getting Started with Eagle 3D Pixel Streaming
    • Create Eagle 3D Streaming User Account
    • Enable the Pixel Streaming plugin
    • Package your Project from Unreal Engine
    • Upload your Unreal Engine Application
  • Control Panel
    • 4. Generate URLs from the Control Panel
    • What is the shouldSecureURL feature?
    • GENERATE MEETING URLs from the Control Panel
    • Upload a new Version of your application
    • Deleting an application
    • DATA Analytics
  • Configurations
    • Set Up Configurations on your Control Panel
    • Tab: Streaming
    • Secure Streaming URL by Password protection
    • ”Launch most recent already available” feature
    • Tab: Session
    • Away From Keyboard (AFK)
    • Tab: UI
    • Pixel Streaming Quality Control
    • Tab: Developer option
    • Command Line Parameters
    • Download UE Log On Client Side Upon Crash
    • Get UE Logs in the browser Console during runtime
    • Tab: Sound
    • Set up VoIP in your applications on Eagle 3D
    • Tab: Video
    • How to adjust video quality?
    • Tab: Mouse
    • Tab: Keyboard
    • Tab: Platform
    • Tab: Customization
    • Customize Background, Logo, Loading & Queue Screen, and Play Buttons
    • Tab: Loading Screen
    • Play Video During Loading Sequence
  • E3DS Account Management
    • Transfer Account (username) to Another Email
    • Change or Remove Account Username
  • Communication between unreal and page
    • Feature Template for Eagle 3D Pixel Streaming
    • Toggle Fullscreen from blueprint
    • Redirect Streaming Window/Tab to a New Web Page
    • Upload and Download Files
    • Upload A local file from User’s Device to send to unreal app
    • Download file produced by Unreal engine to User’s Device
    • Communicate with unreal app from iframe
    • Override configuration settings via URL
    • Change a user’s browser mouse cursor from the Blueprint of the Unreal app
    • Open URL on user’s browser from Unreal app
    • End session/game/streaming from blueprint
    • End session/game/streaming from UE4 blueprint by closing user’s browser tab
    • Initiate browser side ScreenShot from blueprint
    • setVolume from Unreal app
    • How to download a Screenshot in Unreal Engine Pixel Streaming Application from your Browser
    • How to Capture a Screenshot in Unreal Engine and Get Its File Path and Name.
    • Eagle 3D’s guidelines on the Firewall restriction
    • Test your App for the Pixel Streaming plugin locally using Epic Signaling Server
  • Multiplayer/ Dedicated server System
    • Host dedicated server using E3DS infrastructure
  • Tips and Miscellaneous
    • Tips for Performance and Mobile
    • Hardware and Software Specifications
    • Eagle’s guidelines on Upload issues
    • Eagle 3D on Anti-Aliasing
    • Eagle 3D on accessing a local file at runtime
  • Demos And Tutorials
    • Eagle 3D Streaming Multiplayer Demo
    • React iFrame demo
    • Embed Stream into Webpage using iframe and communicate with unreal app
    • Eagle Guide to Touch Components for Mobile Devices
    • Demos
  • Transition Guide From Other Platforms:
    • Furioos
    • Arcware
  • Automation
    • E3DSAutomation Plugin- How to Use E3DS Automation Plugin to Package and Upload your application to E3DS Control Panel
  • Blogs and Articles
    • The difference between a dedicated and shared game views and controls
    • Eagle 3D Streaming on the Concept of CCUs
    • The Concept of Load time in Eagle 3D Streaming
    • Determine the Load time of your Application
    • Eagle’s guidelines for a minimized load time
    • Eagle’s guidelines on the Enterprise plan
    • FAQ (Frequently asked questions)
    • Select the right Build Configuration for your UE Project before Packaging
  • Home
  • Explore Us
  • Login
  • Support

Command Line Parameters

akhikajol

akhikajol

  • July 27, 2023
  • 3 min read

The command line parameter “CmdLineParameters” makes it possible to send commands to the UE App upon app initialization. To understand how this feature works, first prepare a setup to follow along with this demo:

First, create a new config. The name of the config can be anything, in this example I will name my config ‘CmdLineDemo’.

Second, download our feature templates UE Project, found here: Bitbucket .

Third, upload the FeaturesTemplate UE Project into your Eagle 3D Streaming Platform.

After completing these three steps, your control panel should now have the FeaturesTemplate App and a new config, shown here:

Image 1. STANDALONE APPS: FeaturesTemplate App and a new config

Now that you have your environment setup, its time to try the command line parameter. First click on ‘Edit’ on your config, and then click ‘Streaming’ from the top menu items. Then scroll down to the very bottom, and find the ‘CmdLineParameters To Pass to App’.

This field will enable you to send commands to your UE App when in initializes. To start off learning the CmdLine, try adding ‘-green’ into this field, and clicking save.

Image 2. STREAMING: CmdLine

 

After saving, run the FeaturesTemplate app. After the app loads run to the 11th bay (yes, we know it takes a long time to get there). You’ll notice the sphere is now green. This is because UE4 received your command on run time to change the sphere’s color to green.

Image 3. Launching the Features Template Application: Сolor to green

Now let’s test sending multiple commands to UE. Go back to the command line, enter ‘-blue -pink -white’, save the config, and run the game again

Image 4. CmdLine: -blue -pink -white

Image 5. Launching the Features Template Application: -blue -pink -white

As a final test, change the colors to ‘-blue -red -green’ so that we can the values entered into the Command Line are having a direct impact on the UE Game.

Now let’s test sending multiple commands to UE. Go back to the command line, enter ‘-blue -red -green’, save the config, and run the game again.

Image 6. CmdLine: -blue -red -green

Image 7. Launching the Features Template Application: -blue -red -green

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

More advanced features

1. It is also possible to append cmdLine Arguments with existing ones. This can be used for authentication / token purposes.

2. First, lets return to a simple example, with the Command ‘-green’. This will make the sphere green in your example.

3. Now, check the ‘should append overiding cmdLine Argument with existing (sp, we know) one?’

 

 

Should append parameters from url with existing one to override?

Image 8. CmdLine: -green

Then copy your URL, it will look something like this: https://connector.eagle3dstreaming.com/v5/demo/FeaturesTemplate/CmdLineDemo

Then copy your URL, it will look something like this: https://connector.eagle3dstreaming.com
/v5/demo/FeaturesTemplate/CmdLine
Demo

Now that you have checked ‘’should append overiding cmdLine Argument with existing one?’, you are able to add additional command lines to the URL, by adding ‘?exeLunchArgs=-[variable]’ to the end of the URL.

For example, say I wanted to add -’blue' to my URL.

I will first start with this URL:
https://connector.eagle3dstreaming.com/v5/demo/FeaturesTemplate/CmdLineDemo

And then I would add ‘?exeLunchArgs=-blue' to the end of it. My URL now looks like this:

https://connector.eagle3dstreaming.com/v5/demo/FeaturesTemplate/CmdLineDemo?exeLunchArgs=-blue

The system has now appended the additional command and has sent both the command added into the config and the command added into the URL to the UE game.

Example: https://connector.eagle3dstreaming.com/v5/demo/FeaturesTemplate/KunalConfig?exeLunchArgs=-green pink red

When you click on
https://connector.eagle3dstreaming.com/v5/demo/FeaturesTemplate/CmdLineDemo?exeLunchArgs=-blue, your output will look something like this( where 2 values is getting parsed from two place in cmdline args):

For example, say I wanted to add
-’blue’ to my URL.

I will first start with this URL:
https://connector.eagle3dstreaming.com

/v5/demo/FeaturesTemplate/CmdLineDemo

And then I would add ‘?exeLunchArgs=-blue’ to the end of it. My URL now looks like this:

https://connector.eagle3dstreaming.com

/v5/demo/FeaturesTemplate/CmdLineDemo?exeLunchArgs=-blue

The system has now appended the additional command and has sent both the command added into the config and the command added into the URL to the UE game.

Example: https://connector.eagle3dstreaming.com/v5/

demo/FeaturesTemplate/KunalConfig?exeLunchArgs=-green pink red

When you click on
https://connector.eagle3dstreaming.com/v

5/demo/FeaturesTemplate/CmdLineDemo?exeLunchArgs=-blue, your output will look something like this( where 2 values is getting parsed from two place in cmdline args):

 
Image 9. Launching the Features Template Application: -blue

Now that we are familiar with how the appending system works, we can explore how this is used for authentication.

 
For example, say I want to authenticate by a user’s email address:

On the URL side, append (we assume you know how to do this programmatically on your end) the user’s email address to the URL, so that it looks like this:

https://connector.eagle3dstreaming.com/
v5/demo/FeaturesTemplate/CmdLineDemo?exeLunchArgs=-user=myEmailAddress@gmail.com (this link will not work and is for demonstration purposes only).

 
By adding the email address into the URL (yes the ‘@’ sign is an accepted character), you will be able to pass the email address into your UE app where you can then proceed with the authentication. Within the FeaturesTemplate app there is a blueprint showing how to receive a value (in the FeaturesTemplate example we show how to use the command line to get an IP Address for multiplayer).

Voila! You are now ready to authenticate your UE visitors sending their email address through the command line!

Special data:
%ip_streamer% will pass the IP address of the machine where UE app is running


%ip_ss% will pass the IP address of the Signaling server

%port_streamer2ss% will pass the port of the of Signaling server through which UE app communicates with the signaling server

Image 10. Control Panel: Parameters To Pass to App

In Parameters If I put :
-bb=%ip_streamer% -aa=%ip_ss%:%port_streamer2ss%

Then the output would be something like thi

Image 11. Parameters If I put: Displaying a parameter on the screen

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 Community Forum today.

Related Documents

Change a user’s browser mouse cursor from the Blueprint of the Unreal app

To Change the user’s browser mouse cursor, you have to pass a valid mouse cursor property ( cursor – CSS:

Read More ➺

Determine the Load time of your Application

This document explains concepts of the load time, how to determine it, and some tips on how to minimize it.

Read More ➺

Select the right Build Configuration for your UE Project before Packaging

Unreal Engine requires you to select a Build Configuration before Packaging your Project. Which one should you go for?  

Read More ➺

Explore

  • Getting Started with Eagle 3D Pixel Streaming
    • Create Eagle 3D Streaming User Account
    • Enable the Pixel Streaming plugin
    • Package your Project from Unreal Engine
    • Upload your Unreal Engine Application
  • Control Panel
    • 4. Generate URLs from the Control Panel
    • What is the shouldSecureURL feature?
    • GENERATE MEETING URLs from the Control Panel
    • Upload a new Version of your application
    • Deleting an application
    • DATA Analytics
  • Configurations
    • Set Up Configurations on your Control Panel
    • Tab: Streaming
    • Secure Streaming URL by Password protection
    • ”Launch most recent already available” feature
    • Tab: Session
    • Away From Keyboard (AFK)
    • Tab: UI
    • Pixel Streaming Quality Control
    • Tab: Developer option
    • Command Line Parameters
    • Download UE Log On Client Side Upon Crash
    • Get UE Logs in the browser Console during runtime
    • Tab: Sound
    • Set up VoIP in your applications on Eagle 3D
    • Tab: Video
    • How to adjust video quality?
    • Tab: Mouse
    • Tab: Keyboard
    • Tab: Platform
    • Tab: Customization
    • Customize Background, Logo, Loading & Queue Screen, and Play Buttons
    • Tab: Loading Screen
    • Play Video During Loading Sequence
  • E3DS Account Management
    • Transfer Account (username) to Another Email
    • Change or Remove Account Username
  • Communication between unreal and page
    • Feature Template for Eagle 3D Pixel Streaming
    • Toggle Fullscreen from blueprint
    • Redirect Streaming Window/Tab to a New Web Page
    • Upload and Download Files
    • Upload A local file from User’s Device to send to unreal app
    • Download file produced by Unreal engine to User’s Device
    • Communicate with unreal app from iframe
    • Override configuration settings via URL
    • Change a user’s browser mouse cursor from the Blueprint of the Unreal app
    • Open URL on user’s browser from Unreal app
    • End session/game/streaming from blueprint
    • End session/game/streaming from UE4 blueprint by closing user’s browser tab
    • Initiate browser side ScreenShot from blueprint
    • setVolume from Unreal app
    • How to download a Screenshot in Unreal Engine Pixel Streaming Application from your Browser
    • How to Capture a Screenshot in Unreal Engine and Get Its File Path and Name.
    • Eagle 3D’s guidelines on the Firewall restriction
    • Test your App for the Pixel Streaming plugin locally using Epic Signaling Server
  • Multiplayer/ Dedicated server System
    • Host dedicated server using E3DS infrastructure
  • Tips and Miscellaneous
    • Tips for Performance and Mobile
    • Hardware and Software Specifications
    • Eagle’s guidelines on Upload issues
    • Eagle 3D on Anti-Aliasing
    • Eagle 3D on accessing a local file at runtime
  • Demos And Tutorials
    • Eagle 3D Streaming Multiplayer Demo
    • React iFrame demo
    • Embed Stream into Webpage using iframe and communicate with unreal app
    • Eagle Guide to Touch Components for Mobile Devices
    • Demos
  • Transition Guide From Other Platforms:
    • Furioos
    • Arcware
  • Automation
    • E3DSAutomation Plugin- How to Use E3DS Automation Plugin to Package and Upload your application to E3DS Control Panel
  • Blogs and Articles
    • The difference between a dedicated and shared game views and controls
    • Eagle 3D Streaming on the Concept of CCUs
    • The Concept of Load time in Eagle 3D Streaming
    • Determine the Load time of your Application
    • Eagle’s guidelines for a minimized load time
    • Eagle’s guidelines on the Enterprise plan
    • FAQ (Frequently asked questions)
    • Select the right Build Configuration for your UE Project before Packaging

© 2023 Eagle 3D Streaming. All Rights Reserved.