This document demonstrates the way to get the Download URL of your Local File from your Pixel Streaming Unreal App.
DemoLink:
Demo Video:
Blueprint Code:
In order to make this work, there is a pixel streaming command that the user needs to send.
{"cmd":"getDownloadUrlOfLocalFile","fileToDownload":" (Path to Local File with extension) "}
The Complete path Example will be something like:
{"cmd":"getDownloadUrlOfLocalFile","fileToDownload":"C:\Unreal\Content\image.png"}
For demonstration in this document this code is added to a widget blueprint and being executed on Event Construct:
Then the BindEventOnInputEvent, there will be a response message from the system which will contain the download URL. This response will be:
{"type":"takeDownloadUrlOfLocalFile","downloadURL":"(DownloadURL)","localFile":"(FilePathInLocal)"}
Here is how you can get the Download URL from it in Unreal:
You can open this URL by running another pixel stream command.
{"cmd":"lunchUrl","value":"(URL to Open)"}
More About Opening URLs can be found in the Document:
Add Comment