Documentation Index
Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The frontend communicates with Unreal via the Pixel Streaming messaging system.- Sending → Unreal: You can send json message to your unreal engine application.
- Receiving ← Unreal: You can listen for responses and messages coming from the Unreal side.
- Via URL – pass a JSON payload in the launch URL (one-time, no frontend code required).
- Sometimes you only need to send a message once, at the very start of the application, and not for the rest of the session.
- To avoid building a custom frontend just for this, Streampixel lets you include a JSON message directly in the stream’s URL.
- This is useful for one-time configuration, like setting the default map, graphics quality, or toggling UI elements when the session launches.
- Via WebSDK / Iframe – send JSON interactively at any point after the stream has launched.
- If you need ongoing control — sending messages while the app is running — use our WebSDK or Iframe API.
- This method supports unlimited, interactive communication. You can send commands in response to button clicks, toggle HUD elements, update camera views, or push live analytics at any point during the session.
Sending messages to Unreal
Option A: Via URL
If you only need to send a message once at the start of the application, you don’t need to create a custom frontend. You can simply include the JSON data as parameters in your stream URL.URL structure
PROJECT_ID→ your project identifier.?→ indicates the start of parameters.fieldname→ the JSON key.value→ the data you want Unreal to receive.
Examples
Single fieldURL Generator tool
To make this easier, you can use our helper tool: https://urlgenerator.streampixel.io/ The tool automatically encodes special characters and generates a ready-to-use URL. No data is stored. Its purpose is to help you understand how URL encoding works. Even if you choose not to use the tool and create the URL manually, it will still work as long as you apply proper encoding.Option B: Via Iframe or WebSDK
If you need to send messages while the app is running, use the Streampixel WebSDK or Iframe API. This gives you full interactivity and unlimited control.- For Iframe integration refer to Sending messages.
- For WebSDK integration refer to Communicating with Unreal Engine.
Receiving messages from Unreal
When the Unreal app sends a message to the frontend, your frontend must register handlers/listeners to process it. Both the Iframe API and the WebSDK support this.- For Iframe integration refer to Listening for messages.
- For WebSDK integration refer to Communicating with Unreal Engine.
Next steps
Unreal side - sending and receiving JSON
Set up the Unreal blueprints that consume these messages.
Frontend and application communication
See the iframe postMessage patterns in detail.