Skip to content

These parameters tune video encoding, bandwidth usage, and rendering performance for the HTML5 Display client. Adjust them to balance quality, latency, and resource consumption based on network conditions and client capabilities.

Serves the HTML5 Display client web interface with optional URL-based configuration.

Use this endpoint for:

  • RESTful API compliance
  • Versioned client access
  • API gateway integrations

Example:

Terminal window
https://domain.com/api/v1/display/?displayId=10&readonly=true&decorations=false
NameInTypeRequiredDescription
encodingquerystringNoVideo encoding type. Use auto for best automatic selection. Allowed values: auto, webp, jpeg, png, rgb, rgb24, rgb32, h264, vp8, vp9, mpeg1, mpeg4+mp4, h264+mp4, vp8+webm, scroll, void. Default: auto
offscreenquerybooleanNoUse offscreen canvas for rendering. Default: false
bandwidth_limitqueryintegerNoBandwidth limit in bits per second (0 = unlimited). Default: 0
override_widthquerystringNoOverride virtual desktop width (auto or numeric value). Default: auto
videoquerybooleanNoEnable video encoding support. Default: true
mediasource_videoquerybooleanNoEnable MediaSource API for video. Default: true
{
"description": "HTML5 Display client interface loaded successfully",
"content": {
"text/html": {
"schema": {
"type": "string"
},
"example": "<!DOCTYPE html>\n<html>\n<head><title>Hoody Display Client</title></head>\n<body>\n <!-- Display HTML5 client interface -->\n</body>\n</html>\n"
}
}
}
const result = await client.display.accessClient({
encoding: "auto",
offscreen: false,
bandwidth_limit: 0,
override_width: "auto",
video: true,
mediasource_video: true
});