SFU (Selective Forwarding Unit) enables one Unreal Engine instance to stream to multiple viewers simultaneously.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.
Video tutorial
Architecture
In standard mode, each viewer gets a dedicated UE instance (1:1). With SFU:- One UE instance renders the content
- The SFU server receives the stream and forwards it to multiple viewers
- One user is the Host (can send input to UE), all others are Players/Viewers (watch-only)
There is exactly one host per SFU session. The host is the only user who can send mouse, keyboard, and other input to the Unreal Engine application.
Roles
Host
The host controls the UE application. There is one host per SFU session. The host can send mouse, keyboard, and other input to UE.Player (viewer)
Players watch the stream but cannot send input to UE. Multiple players can connect simultaneously.Default (neither)
When neithersfuHost nor sfuPlayer is set, the SDK uses standard 1:1 streaming.
Configuration via URL parameters
SFU mode can also be set via URL query parameters, which is useful for sharing links:Use cases
- Live presentations: One person presents in UE, many watch
- Spectator mode: Players watch a game being played by the host
- Virtual events: Stream a virtual environment to a large audience
- Training/demos: Instructor controls the application, trainees observe
- Cost optimization: Serve many viewers from a single UE instance
Next steps
Communicating with Unreal Engine
Send and receive data between the web client and UE.
Voice and text chat
Add real-time voice and text chat for SFU sessions.