Xpra-org / xpra-html5

HTML5 client for Xpra
Mozilla Public License 2.0
192 stars 53 forks source link

video_max_size doesn't respect offscreen_api flag #287

Closed timeu closed 5 months ago

timeu commented 5 months ago

Due to the way xpra-html5 initializes the client, the video_max_size is always set to [1024, 768] regardless of the offscreen_api setting.

The video_max_size value is set here depending on the offscreen_api setting. However the offscreen_api setting is set at a later time.

This leads to unnecessary downsampling/sizing when using the xpra-html5 client.