Skip to content
Hoody.com

The performance and encoding parameters let you tune how the HTML5 Display client streams pixels, manages bandwidth, and renders frames. Use these options to balance video quality against network and CPU consumption, enable hardware-friendly pipelines, or switch encoders for specific client conditions. This endpoint documents the subset of query parameters that control encoding, offscreen rendering, bandwidth caps, virtual desktop width override, video pipeline enablement, and the browser MediaSource extension.

NameInTypeRequiredDescription
encodingquerystringNoVideo encoding type. Use auto for best automatic selection. Default: "auto". Accepted literal values: auto, webp, jpeg, png, rgb, rgb24, rgb32, h264, vp8, vp9, mpeg1, mpeg4+mp4, h264+mp4, vp8+webm, scroll, void.
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.

Terminal window
curl -G "https://{projectId}-{containerId}-display-1.{server}.containers.hoody.icu/api/v1/display/" \
--data-urlencode "encoding=h264" \
--data-urlencode "offscreen=true" \
--data-urlencode "bandwidth_limit=5000000" \
--data-urlencode "override_width=1920" \
--data-urlencode "video=true" \
--data-urlencode "mediasource_video=true"