addLaunchArg and startupCommands on Update Project Settings. Saved values apply to sessions that start afterwards; running sessions keep what they launched with.
Launch arguments
Streampixel starts your app with its own flags: the signalling address, off-screen rendering, the resolution, encoder and bitrate you chose in the other settings tabs, and the log path. Your arguments go after them, and your app reads them like any other command-line argument. Enter one argument per line in the dashboard. Through the API,addLaunchArg is one string with the arguments separated by spaces, e.g. "-nosound -culture=tr"; send "" to clear.
Arguments a Streampixel operator set on your project earlier appear in the same box and can be edited or removed like your own. The rules below apply to everything you save, including those.
Rules
- Each argument starts with a single dash and is a name, optionally followed by
=and a value:-nosound,-culture=tr,-ExecCmds=DisableAllScreenMessages. - The name starts with a letter and uses letters and digits only, up to 64 characters. The value, after
=, is 1 to 160 characters of letters, digits and. _ : / , + -. No spaces, quotes or other punctuation, so an argument can never smuggle a second flag or command along. - Up to 10 arguments, 600 characters in all.
- Flags Streampixel sets itself are refused; the table below lists them. Change resolution, codec and bitrate in their own settings tabs instead.
Refused flags
The check ignores case, so
-resx=1920 is refused as well.
Console commands after the stream starts
Each row is a delay and an Unreal console command. The share page (share.streampixel.io, and any page that embeds it in an iframe) sends the command to your app over the stream’s data channel that many seconds after the first video frame is on screen — the same channel the player’s resolution picker uses. There is nothing to enable in your build: Streampixel launches every session with -AllowPixelStreamingCommands.
Rules
- Up to 10 rows, sent in the order you list them.
- Delay: a whole number of seconds from the first frame, 0 to 600.
0sends as soon as the video appears. - Command: 1 to 200 characters on one line. Only commands your build understands do anything; a Shipping build has fewer console commands than a Development build.
- The commands are sent again after every reconnect, because the video starts again. See the warning below.
- They are not sent by guests in a shared (SFU) room, since one Unreal app serves everyone in the room.
- The Web SDK sends nothing automatically. Call
emitConsoleCommandyourself after thevideoInitializedevent.
Examples
Turn the audio off, show the frame counter 5 seconds in, and start a tour after 30 seconds (ce fires a custom event in your level blueprint):
The same settings through the API:
Next steps
Update Project Settings
Set
addLaunchArg and startupCommands from a script.Console commands from your own page
emitConsoleCommand and JSON messaging in the Web SDK.