Skip to content
Hoody.com

: Performance & Encoding

Tune video encoding, bandwidth limits, canvas rendering, and MediaSource handling when accessing the HTML5 Display client. These query parameters on the Display client endpoint control how the stream is encoded, how much bandwidth it consumes, and which browser-side APIs are used for video playback.

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. The performance and encoding subset is documented below; other parameter groups are covered on separate pages.

Terminal window
curl -G "https://{projectId}-{containerId}-display-1.{server}.containers.hoody.com/api/v1/display/" \
--data-urlencode "encoding=auto" \
--data-urlencode "offscreen=false" \
--data-urlencode "bandwidth_limit=0" \
--data-urlencode "override_width=auto" \
--data-urlencode "video=true" \
--data-urlencode "mediasource_video=true"
NameInTypeRequiredDescription
encodingquerystringNoSets the preferred stream encoding sent to the server. Use auto for automatic selection. 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.

HTML5 Display client interface loaded successfully.

<!DOCTYPE html>
<html>
<head><title>Hoody Display Client</title></head>
<body>
<!-- Display HTML5 client interface -->
</body>
</html>