Communication with companion app (http blueprint vs remote control server)
Essentially there are two approaches possible for the communication with the Virtual Fieldwork Companion web app. Most likely both are needed at the same time.
Ideas
- The companion app will have a web server. Unreal will send its current state etc to the backend with POST/PUT requests
- Check whether Unreal's own HTTP Blueprint is already enough https://docs.unrealengine.com/5.3/en-US/BlueprintAPI/Http/HttpRequest/
- Otherwise check one of the multiple plugins that allow http request processing.
- VaRest Plugin
- From the other side, the companion app will want to send requests to the unreal application.
- This will be done with the Remote control API for unreal: https://git.geomar.de/arena/unreal-development/documentation/-/wikis/Implementation/Provenance
- Unreal will open a server and the companion can send requests by calling a specific object that has been placed in the world (#12 (closed) )
Edited by Armin Bernstetter