Core Integration UI Patterns

Core Integration UI Patterns

When using CoreSetup, the Arcware WebSDK runs in a headless mode. This means the SDK does not provide any UI components such as:

  • control buttons

  • overlays

  • status indicators

  • queue screens

  • AFK warnings

All UI must be implemented by the application.

This page provides reference patterns for the most important UI components that are typically implemented when building a Core integration.

The three areas that most Core integrations need to handle are:

  1. Stream control UI

  2. Queue management UI

  3. AFK handling UI

These are the most essential interaction points when building a fully custom interface around the WebSDK.


Base Core Setup Example

Before building UI controls, initialize the SDK.


1. Stream Control UI

The default UI integration normally provides buttons for:

  • fullscreen

  • audio toggle

  • microphone toggle

  • reconnect

  • Unreal interaction buttons

When using CoreSetup, these must be implemented manually.


Example Control Panel

Example HTML:

Example implementation:


Sending Commands to Unreal Engine

Most custom UI interactions send commands to Unreal Engine.

Example:

Receiving responses:


2. Queue Management UI

If all streaming instances are currently occupied, the user may enter the Arcware queue.

Without the default UI integration, Core applications must implement queue UI themselves.


Example Queue Overlay

HTML:


Handling Queue Updates


Hiding Queue Overlay When Stream Starts

This ensures the queue UI disappears when the stream becomes available.


3. AFK Handling UI

Arcware streams may terminate sessions when users are inactive.

The backend detects inactivity and emits AFK events through Pixel Streaming.

Core integrations should react to these events to inform users and give them a chance to stay connected.


Example AFK Overlay

HTML:


AFK Warning Activation


AFK Countdown Updates


AFK Warning Cancelled


AFK Timeout


Optional: File Transfer Handling

Unreal Engine can send files to the browser.

Example use cases:

  • screenshots

  • exported assets

  • generated reports


Automatic Download


Fully Custom File Handling

This allows applications to:

  • preview files

  • upload files to a server

  • process them programmatically


Typical Core UI Structure

Most Core integrations implement at least the following components:

Component
Purpose

Stream container

Rendering the video stream

Control panel

Stream controls and commands

Queue overlay

Inform user when waiting for capacity

AFK overlay

Handle inactivity warnings

File handling

Optional asset downloads


Minimal Example Layout

This structure gives applications full control over how the streaming interface behaves.


Summary

When using CoreSetup, developers must implement the UI components that the UI integration normally provides automatically.

The most important UI areas to handle are:

  • stream controls

  • queue handling

  • AFK handling

Together with emitUIInteraction() and applicationResponseHandler, these components form the core interaction model for most headless integrations.

Last updated