Xpra: Ticket #1581: html5 2.2 updates

Follow up from #1491 (for 2.1).

Now also on github where pull requests can be submitted: https://github.com/totaam/xpra-html5/



Wed, 16 Aug 2017 11:43:11 GMT - Antoine Martin: status changed

As part of the network layer work (#1590), it would be very useful to hook into the Network Information API to have some information about the type of connection the browser is using, what latency can be expected, get notified about (dis)connection events, etc This information could be provided to the server as hints it can feed into its own heuristics.


Sat, 02 Sep 2017 04:08:42 GMT - Antoine Martin: description changed


Mon, 11 Sep 2017 11:51:12 GMT - Antoine Martin:

As of r16824, we expose this information to the server as "connection-data" for each client that provides it.

The big problem is that this connection API looks buggy as hell, at least the downlink value is. Here is some data with a Fedora 26 server, chrome 62 Fedora 26 client, the "download" value is nowhere near the system settings (values are in bits per second):

Firefox 55 and Safari 10.1.2 have no support for this API yet.

So, if anything the "effective-type" is more reliable than the "downlink" value. And I've tried turning on and off my network interfaces, the "onchange" event handler never fired... so we can't use that to detect when the network connection drops.


Thu, 05 Oct 2017 06:14:00 GMT - Antoine Martin:

See OffscreenCanvas: it isn't supported everywhere but it could potentially speed things up quite a bit, allowing us to split the picture decoding and the actual paint. (exactly like the regular client does with its decode thread) See also ticket/1637#comment:2, we should already be able to decode pictures in parallel (as long as the browser supports this) and only update the canvas in the right order.


Tue, 24 Oct 2017 16:19:39 GMT - Antoine Martin: owner, status changed

Updates:

Will follow up in #1670.

@maxmylyn: just a FYI, feel free to close. (SB might want to merge some of this)


Fri, 27 Oct 2017 17:29:32 GMT - J. Max Mena: status changed; resolution set

Noted and closing.


Tue, 28 Nov 2017 11:02:24 GMT - Antoine Martin:

See also #1689, #1586 and #1712.

r17467: adds webp decoding (#1694)


Tue, 02 Jan 2018 15:52:39 GMT - Antoine Martin:

The bandwidth detection code caused a regression: ticket:1729#comment:13


Tue, 29 May 2018 15:09:05 GMT - Antoine Martin:

See also: #1860 detect wifi connections (jittery) which causes problems like #1855


Sat, 23 Jan 2021 05:28:17 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1581