Skip to content
Hoody.com

Tune encoding, bandwidth limits, and rendering settings to optimize display performance. These parameters control how the display stream is encoded, the bandwidth ceiling for the WebSocket connection, whether the client uses an offscreen canvas, and whether video and MediaSource APIs are exposed to the browser.

GET /api/v1/display/

Serves the HTML5 Display client web interface with optional URL-based configuration. This is the standardized API version of the root endpoint and accepts the same URL parameters for full client customization. This page documents only the performance and encoding subset.

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.

This endpoint accepts no request body.

HTML5 Display client interface loaded successfully.

{
"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"
}
}
}
Terminal window
curl "https://{projectId}-{containerId}-display-1.{server}.containers.hoody.com/api/v1/display/?encoding=webp&bandwidth_limit=5000000&video=true&mediasource_video=true&offscreen=false&override_width=auto"