This template demonstrates how to communicate UE4 app to Player Page and back while using Eagle Streaming System.
Before Using some of the features take a look at the document below covering how to send a pixel streaming command to E3DS System: |
The Pixel Streaming Plugin that runs within the Unreal Engine exposes a Blueprint API that you can use in your gameplay logic to handle custom UI events sent by the player HTML page and to emit events from the Unreal Engine to the player page.
To access this Blueprint API, add the Pixel Streamer Input to the Player Controller of your project with Pixel Streaming Plugin enabled for your project. |
BP_DemoDisplay Blueprint:Path: Content\DemoRoom\BluePrint
You can retrieve it from the Player Controller using the Actor > Get Component by Class node. Click the Component Class input, and look for the PixelStreamingInputComponent in the list.
Pixel Streaming Response String is a public variable which will be set for each instance of the BP_DemoDisplay differently in the map for the demonstration purpose. |
In the demo Send Pixel Streaming Response function is attached to the 3d Button press in map, however this can also be attached to any Key Press, other Custom Events and UMG events.
1. Open URL:
Refer to Open URL on user’s Browser from Unreal App.
2. Open Mailing app
To launch the default mail app on User’s device like Outlook or Gmail. |
Syntax:
{"cmd":"lunchMailApp","value":"Email to send to"}
Example Descriptor:
{"cmd":"lunchMailApp","value":"business@eagle3dstreaming.com"}
Blueprint:
Content/Blueprint/PixelStreamingBP/LaunchMailApp.uasset
To open a calling app with Phone number to call to. |
Syntex:
{"cmd":"lunchCallApp","value":"Phone Number"}
Example Descriptor:
{"cmd":"lunchCallApp","value":"(432) 296-2920"}
Blueprint:
Content/Blueprint/PixelStreamingBP/LaunchCallApp.uasset
Open Keyboard
Descriptor:
{"cmd":"lunchKeyBoard"}
Blueprint:
Content/Blueprint/PixelStreamingBP/OpenKeyBoard.uasset
To toggle the visibility of Browser Mouse. |
Descriptor:
{"cmd":"ToggleBrowserMouse"}
Blueprint:
Content/Blueprint/PixelStreamingBP/BrowerMouse.uasset
we also have :
{"cmd":"showBrowserMouse"}
and
{"cmd":"hideBrowserMouse"}
Descriptor:
{"cmd":"increaseSessionExpireTime","value":"Amount"}
Blueprint:
Content/Blueprint/PixelStreamingBP/ SetSessionTimer.uasset
This command share the information about the user which is using the Pixel Stream |
Country Name and City
Descriptor:
{"cmd":"sendUserInfo"}
Blueprint:
Content/Blueprint/PixelStreamingBP/GetUserInfo.uasset
This command shares the information about the user’s device on which Pixel Stream is running. |
Operating System on the Device (Windows, IOS, Android)
Browser Name
Descriptor:
{"cmd":"sendUserInfo"}
Demonstrate How to setup Video in Pixel Streaming |
Blueprint:
Content/Blueprint/ActorBP/TV.uasset
Demonstrate How to setup Audio in Pixel Streaming |
Demonstrates how to pass commandLineArguments |
Check this document : Pass Commands/ Parameters to your App from the Control Panel.
Check this document : Redirect Streaming Window/Tab to a new Webpage.
Check this document : End Session/game/Streaming from Blueprint.
Check this document : End session/game/streaming from UE4 Blueprint by closing user’s Browser Tab.
Check this document : Initiate Browser side Screenshot from Blueprints.
Check this document : Toggle Fullscreen from Blueprint.
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.