TheDocumentation Index
Fetch the complete documentation index at: https://docs.streampixel.io/llms.txt
Use this file to discover all available pages before exploring further.
UIControl object provides helper methods for common UI operations.
Methods
toggleAudio()
Toggles the stream audio element between muted and unmuted.
handleResMax(value)
Set the maximum resolution for the stream.
| Parameter | Type | Description |
|---|---|---|
value | string | Resolution in "WIDTHxHEIGHT" format (e.g., "1920x1080") |
Behavior depends on the resolution mode: in Fixed Resolution Mode, this sends an
r.SetRes console command to UE. In Dynamic or Crop on Resize Mode, it updates the maximum dimensions and recalculates based on the viewport.toggleHoveringMouse(value)
Enable or disable hover mouse mode.
| Parameter | Type | Description |
|---|---|---|
value | boolean | true to enable, false to disable |
getStreamStats()
Collects and returns current stream statistics as a parsed object.
getResolution()
Returns the available resolution options if resolution control is enabled for the project.
undefined if resolution control is not enabled in the dashboard.
Next steps
Stream statistics
Full reference for the fields returned by
getStreamStats().pixelStreaming API
Core streaming methods and lifecycle events.