This page covers SDK-specific communication — the JavaScript methods and event listeners exposed byDocumentation Index
Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
Use this file to discover all available pages before exploring further.
pixelStreaming and emitUIInteraction.
Other ways to talk to Unreal exist:
- Default frontend: pass JSON via URL parameters at launch — see Frontend side messaging.
- Iframe: use
postMessage— see Iframe communication. - Web SDK: this page.
Sending data to UE
UI interaction (custom JSON)
Send arbitrary JSON to UE. Primary method for custom web → UE messaging.OnInputEvent delegate or FPixelStreamingInputHandler in C++.
Console commands
Run UE console commands remotely:Text input
Send text to UE’s currently focused text field. Mostly used in response to UE’s on-screen keyboard request:Receiving data from UE
Listen for custom messages sent from UE → web:UPixelStreamingDelegates::SendPixelStreamingResponse in C++.
On-screen keyboard
When UE requests text input viashowOnScreenKeyboard, the SDK handles it automatically:
No code needed on your side — the SDK manages the modal and round-trip automatically.
Round-trip example
Next
pixelStreaming API
Full reference for
emitConsoleCommand, addResponseEventListener, etc.Unreal-side blueprints
The matching UE-side setup for receiving and sending JSON.