Skip to content

Session sharing and control parameters configure how the HTML5 Display client handles concurrent users, read-only access, and resource management when the browser tab loses focus. Use these parameters to build dashboard views, demo environments, and multi-user collaboration scenarios.

Access the HTML5 Display client interface with optional URL-based session configuration. This is the versioned API endpoint equivalent of the root display URL.

NameInTypeRequiredDefaultDescription
readonlyquerybooleanNofalseEnable read-only/view-only mode. Blocks all keyboard and mouse input from the client. Perfect for dashboards, monitoring, or demo scenarios. Works independently or combines with server readonly setting.
sharingquerybooleanNofalseAllow session sharing
stealquerybooleanNotrueSteal existing sessions
suspend_inactive_tabquerybooleanNotrueSuspend client updates when browser tab is inactive. Enables power saving by calling client.suspend() on tab hide and client.resume() on tab show. Recommended to keep enabled for better performance.

Example request:

Terminal window
curl "https://domain.com/api/v1/display/?displayId=10&readonly=true&sharing=true&steal=false&suspend_inactive_tab=true"
NameInTypeRequiredDescription
readonlyquerybooleanNoEnable read-only/view-only mode. Blocks all keyboard and mouse input from the client. Perfect for dashboards, monitoring, or demo scenarios. Works independently or combines with server readonly setting.
suspend_inactive_tabquerybooleanNoSuspend client updates when browser tab is inactive. Enables power saving by calling client.suspend() on tab hide and client.resume() on tab show. Recommended to keep enabled for better performance.
sharingquerybooleanNoAllow session sharing
stealquerybooleanNoSteal existing sessions

The HTML5 Display client interface is served with the requested session configuration applied.

<!DOCTYPE html>
<html>
<head><title>Hoody Display Client</title></head>
<body>
<!-- Display HTML5 client interface -->
</body>
</html>
// Allow session sharing, permit stealing (default), enable read-only mode
const result = await client.display.accessClient({
displayId: 10,
sharing: true,
steal: true,
readonly: true,
suspend_inactive_tab: true
});
// Dashboard / monitoring scenario: read-only, no sharing, no stealing
const result = await client.display.accessClient({
displayId: 42,
readonly: true,
sharing: false,
steal: false
});
// Power-saving kiosk: allow sharing, suspend on tab blur
const result = await client.display.accessClient({
displayId: 7,
sharing: true,
steal: false,
suspend_inactive_tab: true
});

Public Dashboard

Set readonly=true to block all input, sharing=false to prevent others from joining, and steal=false to never disrupt an existing session. Ideal for status boards and monitoring screens.

Collaborative Session

Set sharing=true to allow multiple users, steal=true so any collaborator can take control, and readonly=false to permit input from all clients.

Demo / Kiosk

Set readonly=true for unattended demos, suspend_inactive_tab=true to reduce CPU when the tab is not in the foreground, and steal=false to keep the demo uninterrupted.